This will remove imports from __future__ that are no longer needed. https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
24 lines
847 B
Python
24 lines
847 B
Python
"""
|
|
URLs for the CCX Feature.
|
|
"""
|
|
|
|
|
|
from django.conf.urls import url
|
|
|
|
import ccx.views
|
|
|
|
urlpatterns = [
|
|
url(r'^ccx_coach$', ccx.views.dashboard, name='ccx_coach_dashboard'),
|
|
url(r'^create_ccx$', ccx.views.create_ccx, name='create_ccx'),
|
|
url(r'^save_ccx$', ccx.views.save_ccx, name='save_ccx'),
|
|
url(r'^ccx_schedule$', ccx.views.ccx_schedule, name='ccx_schedule'),
|
|
url(r'^ccx-manage-students$', ccx.views.ccx_students_management, name='ccx-manage-students'),
|
|
|
|
# Grade book
|
|
url(r'^ccx_gradebook$', ccx.views.ccx_gradebook, name='ccx_gradebook'),
|
|
url(r'^ccx_gradebook/(?P<offset>[0-9]+)$', ccx.views.ccx_gradebook, name='ccx_gradebook'),
|
|
|
|
url(r'^ccx_grades.csv$', ccx.views.ccx_grades_csv, name='ccx_grades_csv'),
|
|
url(r'^ccx_set_grading_policy$', ccx.views.set_grading_policy, name='ccx_set_grading_policy'),
|
|
]
|