- Remove usage of django.urls.patterns - Change urls tuples to lists - Make all string view names callables - This is the second of several urls updates for LMS; a work in progress
15 lines
410 B
Python
15 lines
410 B
Python
"""
|
|
URLs for EdxNotes.
|
|
"""
|
|
from django.conf.urls import url
|
|
|
|
from edxnotes import views
|
|
|
|
# Additionally, we include login URLs for the browseable API.
|
|
urlpatterns = [
|
|
url(r"^/$", views.edxnotes, name="edxnotes"),
|
|
url(r"^/notes/$", views.notes, name="notes"),
|
|
url(r"^/token/$", views.get_token, name="get_token"),
|
|
url(r"^/visibility/$", views.edxnotes_visibility, name="edxnotes_visibility"),
|
|
]
|