"""models URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/1.8/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  url(r'^$', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  url(r'^$', Home.as_view(), name='home')
Including another URLconf
    1. Add a URL to urlpatterns:  url(r'^blog/', include('blog.urls'))
"""

from django.conf.urls import include, url
from django.contrib import admin
from . import views

from django.conf.urls.static import static
from django.conf import settings

indexpage = [
    url(r'^$', views.index),
]

course = [
    url(r'^course/(?P<sisid>[0-9]{5})/$', views.course_detail),
    url(r'^course/create/$', views.course_create),
    url(r'^course/all/$', views.course_all),
]

instructor = [
    url(r'^instructor/(?P<compid>[a-zA-Z0-9]+)/$', views.instructor_detail),
    url(r'^instructor/create/$', views.instructor_create),
    url(r'^instructor/all/$', views.instructor_all),
]

student = [
    url(r'^student/(?P<compid>[a-zA-Z0-9]+)/$', views.student_detail),
    url(r'^student/create/$', views.student_create),
    url(r'^student/all/$', views.student_all),
]

enrollment = [
    url(r'^enrollment/(?P<enrid>[0-9]+)/$', views.enrollment_detail),
    url(r'^enrollment/create/$', views.enrollment_create),
    url(r'^enrollment/all/$', views.enrollment_all),
]

urlpatterns = indexpage + course + instructor + student + enrollment

@@ -957,24 +957,77 @@
 tructor = %5B%0A
+    url(r'%5Einstructor/all/$', views.instructor_all),%0A
     url(r'%5Ei
@@ -1142,32 +1142,47 @@
 ructor_create),%0A
+%5D%0A%0Astudent = %5B%0A
     url(r'%5Einstr
@@ -1218,31 +1218,16 @@
 r_all),%0A
-%5D%0A%0Astudent = %5B%0A
     url(
@@ -1346,55 +1346,8 @@
 e),%0A
-    url(r'%5Estudent/all/$', views.student_all),%0A
 %5D%0A%0Ae

fix bugs