Files
edx-platform/lms/djangoapps/edxnotes/urls.py
bmedx 11a4030767 LMS urls cleanup for Django 1.11
- 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
2017-11-06 16:06:00 -05:00

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"),
]