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
748e8f9e
Verified
Commit
748e8f9e
authored
8 months ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
refactor: rename APIDayScheduleViewSet -> APIProgramViewSet
parent
4a4a8b3a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
program/views.py
+1
-1
1 addition, 1 deletion
program/views.py
steering/urls.py
+2
-2
2 additions, 2 deletions
steering/urls.py
with
3 additions
and
3 deletions
program/views.py
+
1
−
1
View file @
748e8f9e
...
@@ -147,7 +147,7 @@ logger = logging.getLogger(__name__)
...
@@ -147,7 +147,7 @@ logger = logging.getLogger(__name__)
],
],
),
),
)
)
class
API
DaySchedule
ViewSet
(
class
API
Program
ViewSet
(
mixins
.
ListModelMixin
,
mixins
.
ListModelMixin
,
viewsets
.
GenericViewSet
,
viewsets
.
GenericViewSet
,
):
):
...
...
This diff is collapsed.
Click to expand it.
steering/urls.py
+
2
−
2
View file @
748e8f9e
...
@@ -27,7 +27,6 @@ from django.contrib import admin
...
@@ -27,7 +27,6 @@ from django.contrib import admin
from
django.urls
import
include
,
path
from
django.urls
import
include
,
path
from
program.views
import
(
from
program.views
import
(
APICategoryViewSet
,
APICategoryViewSet
,
APIDayScheduleViewSet
,
APIFundingCategoryViewSet
,
APIFundingCategoryViewSet
,
APIHostViewSet
,
APIHostViewSet
,
APIImageViewSet
,
APIImageViewSet
,
...
@@ -37,6 +36,7 @@ from program.views import (
...
@@ -37,6 +36,7 @@ from program.views import (
APIMusicFocusViewSet
,
APIMusicFocusViewSet
,
APINoteViewSet
,
APINoteViewSet
,
APIPlayoutViewSet
,
APIPlayoutViewSet
,
APIProgramViewSet
,
APIRadioSettingsViewSet
,
APIRadioSettingsViewSet
,
APIRRuleViewSet
,
APIRRuleViewSet
,
APIScheduleViewSet
,
APIScheduleViewSet
,
...
@@ -75,7 +75,7 @@ urlpatterns = [
...
@@ -75,7 +75,7 @@ urlpatterns = [
path
(
"
api/v1/
"
,
include
(
router
.
urls
)),
path
(
"
api/v1/
"
,
include
(
router
.
urls
)),
path
(
path
(
"
api/v1/program/<int:year>/<int:month>/<int:day>/
"
,
"
api/v1/program/<int:year>/<int:month>/<int:day>/
"
,
API
DaySchedule
ViewSet
.
as_view
({
"
get
"
:
"
list
"
}),
API
Program
ViewSet
.
as_view
({
"
get
"
:
"
list
"
}),
name
=
"
program
"
,
name
=
"
program
"
,
),
),
path
(
"
api/v1/schema/
"
,
SpectacularAPIView
.
as_view
(),
name
=
"
schema
"
),
path
(
"
api/v1/schema/
"
,
SpectacularAPIView
.
as_view
(),
name
=
"
schema
"
),
...
...
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