This repository has been archived by the owner on May 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35c4016
commit 4bdef90
Showing
6 changed files
with
26 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
from django.urls import include, re_path | ||
from django.urls import path | ||
from django.urls import include | ||
from rest_framework.urlpatterns import format_suffix_patterns | ||
|
||
app_name = 'analytics_data_api' | ||
|
||
urlpatterns = [ | ||
re_path(r'^v0/', include('analytics_data_api.v0.urls')), | ||
re_path(r'^v1/', include('analytics_data_api.v1.urls')), | ||
path('v0/', include('analytics_data_api.v0.urls')), | ||
path('v1/', include('analytics_data_api.v1.urls')), | ||
] | ||
|
||
urlpatterns = format_suffix_patterns(urlpatterns) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
from django.urls import re_path | ||
from django.urls import path | ||
|
||
from analytics_data_api.v0.views import course_summaries as views | ||
|
||
app_name = 'course_summaries' | ||
|
||
urlpatterns = [ | ||
re_path(r'^course_summaries/$', views.CourseSummariesView.as_view(), name='course_summaries'), | ||
path('course_summaries/', views.CourseSummariesView.as_view(), name='course_summaries'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters