urls.py 406 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
"""
URLs for EdxNotes.
"""
from django.conf.urls import patterns, url

# Additionally, we include login URLs for the browseable API.
urlpatterns = patterns(
    "edxnotes.views",
    url(r"^/$", "edxnotes", name="edxnotes"),
10
    url(r"^/notes/$", "notes", name="notes"),
11 12 13
    url(r"^/token/$", "get_token", name="get_token"),
    url(r"^/visibility/$", "edxnotes_visibility", name="edxnotes_visibility"),
)