Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
steering
Commits
96866e5d
Commit
96866e5d
authored
3 years ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
Remove unused URL configs
parent
0ee3a655
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
profile/urls.py
+0
-30
0 additions, 30 deletions
profile/urls.py
program/urls.py
+0
-32
0 additions, 32 deletions
program/urls.py
steering/urls.py
+0
-6
0 additions, 6 deletions
steering/urls.py
with
0 additions
and
68 deletions
profile/urls.py
deleted
100644 → 0
+
0
−
30
View file @
0ee3a655
#
# steering, Programme/schedule management for AURA
#
# Copyright (C) 2017-2018, Ingo Leindecker
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
django.contrib
import
admin
from
rest_framework
import
routers
from
program.views
import
APIUserViewSet
admin
.
autodiscover
()
urlpatterns
=
[]
router
=
routers
.
DefaultRouter
()
router
.
register
(
r
'
users
'
,
APIUserViewSet
)
This diff is collapsed.
Click to expand it.
program/urls.py
deleted
100644 → 0
+
0
−
32
View file @
0ee3a655
#
# steering, Programme/schedule management for AURA
#
# Copyright (C) 2011-2017, 2020, Ernesto Rico Schmidt
# Copyright (C) 2017-2019, Ingo Leindecker
#
# This program is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import
os
from
django.conf
import
settings
from
django.urls
import
path
from
django.views.static
import
serve
PROGRAM_SITE_MEDIA
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'
../site_media
'
)
if
settings
.
DEBUG
:
urlpatterns
=
[
path
(
'
static/<path>
'
,
serve
,
{
'
document_root
'
:
PROGRAM_SITE_MEDIA
})]
else
:
urlpatterns
=
[]
This diff is collapsed.
Click to expand it.
steering/urls.py
+
0
−
6
View file @
96866e5d
...
...
@@ -18,10 +18,8 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from
django.conf
import
settings
from
django.urls
import
include
,
path
from
django.contrib
import
admin
from
django.views.static
import
serve
from
rest_framework_nested
import
routers
from
program.views
import
APIUserViewSet
,
APIHostViewSet
,
APIShowViewSet
,
APIScheduleViewSet
,
APITimeSlotViewSet
,
\
...
...
@@ -82,8 +80,4 @@ urlpatterns = [
path
(
'
api/v1/program/week
'
,
json_playout
),
path
(
'
api/v1/program/<int:year>/<int:month>/<int:day>)/
'
,
json_day_schedule
),
path
(
'
admin/
'
,
admin
.
site
.
urls
),
path
(
'
program/
'
,
include
(
'
program.urls
'
)),
]
if
settings
.
DEBUG
:
urlpatterns
.
append
(
path
(
'
site_media/<path>
'
,
serve
,
{
'
document_root
'
:
settings
.
MEDIA_ROOT
}))
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment