-
Notifications
You must be signed in to change notification settings - Fork 55
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
09e2a67
commit 4f3f3b0
Showing
9 changed files
with
31 additions
and
26 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
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 |
---|---|---|
|
@@ -5,4 +5,3 @@ export DJANGO_SETTINGS_MODULE=notesserver.settings.test | |
cd /edx/app/edx_notes_api/edx_notes_api | ||
|
||
make validate | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from django.conf.urls import include, url | ||
from django.urls import include, path | ||
|
||
app_name = "notesapi.v1" | ||
|
||
urlpatterns = [ | ||
url(r'^v1/', include('notesapi.v1.urls', namespace='v1')), | ||
path('v1/', include('notesapi.v1.urls', namespace='v1')), | ||
] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
from django.conf.urls import url | ||
from django.urls import path, re_path | ||
|
||
from notesapi.v1.views import (AnnotationDetailView, AnnotationListView, | ||
AnnotationRetireView, AnnotationSearchView) | ||
app_name = "notesapi.v1" | ||
urlpatterns = [ | ||
url(r'^annotations/$', AnnotationListView.as_view(), name='annotations'), | ||
url(r'^retire_annotations/$', AnnotationRetireView.as_view(), name='annotations_retire'), | ||
url( | ||
path('annotations/', AnnotationListView.as_view(), name='annotations'), | ||
path('retire_annotations/', AnnotationRetireView.as_view(), name='annotations_retire'), | ||
re_path( | ||
r'^annotations/(?P<annotation_id>[a-zA-Z0-9_-]+)/?$', | ||
AnnotationDetailView.as_view(), | ||
name='annotations_detail' | ||
), | ||
url(r'^search/$', AnnotationSearchView.as_view(), name='annotations_search'), | ||
path('search/', AnnotationSearchView.as_view(), name='annotations_search'), | ||
] |
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