from django.conf.urls import url, patterns from grades import views urlpatterns = [ url(r'^$', views.grading_systems, name="grading_systems_home"), url(r'^grading_systems/$', views.grading_systems, name="grading_systems"), url(r'^add_grade/$', views.add_grading_system, name="add_grade"), url(r'^add_grade/(?P\d+)/$', views.add_grading_system, name="edit_grade"), ]