old_contents: """web 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 django.conf.urls.static import static
  from django.conf import settings
  
  from . import views
  
  statics = static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  
  misc = [
      url(r'^admin/', include(admin.site.urls)),
      url(r'^$', views.home_page, name='home'),
      url(r'^about/$', views.about, name='about'),
  ]
  
  course = [
      url(r'^course/$', views.list_item, { 'modelname' : 'course' }),
      url(
          r'^course/(?P<itemid>[0-9]{5})/$',
          views.item_detail, { 'modelname' : 'course' },
      ),
  ]
  
  ins = [
      url(r'^instructor/$', views.list_item, { 'modelname' : 'instructor' }),
      url(
          r'^instructor/(?P<itemid>[a-zA-Z0-9]+)/$',
          views.item_detail, { 'modelname' : 'instructor' },
      ),
  ]
  
  ins = [
      url(r'^student/$', views.list_item, { 'modelname' : 'student' }),
      url(
          r'^student/(?P<itemid>[a-zA-Z0-9]+)/$',
          views.item_detail, { 'modelname' : 'student' },
      ),
  ]
  
  enr = [
      url(r'^enrollment/$', views.list_item, { 'modelname' : 'enrollment' }),
      url(
          r'^enrollment/(?P<itemid>[0-9]+)/$',
          views.item_detail, { 'modelname' : 'enrollment' },
      ),
  ]
  
  urlpatterns = statics + misc + course + ins + stud + enr
  
new_contents: """web 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 django.conf.urls.static import static
  from django.conf import settings
  
  from . import views
  
  statics = static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
  
  misc = [
      url(r'^admin/', include(admin.site.urls)),
      url(r'^$', views.home_page, name='home'),
      url(r'^about/$', views.about, name='about'),
  ]
  
  course = [
      url(r'^course/$', views.list_item, { 'modelname' : 'course' }),
      url(
          r'^course/(?P<itemid>[0-9]{5})/$',
          views.item_detail, { 'modelname' : 'course' },
      ),
  ]
  
  ins = [
      url(r'^instructor/$', views.list_item, { 'modelname' : 'instructor' }),
      url(
          r'^instructor/(?P<itemid>[a-zA-Z0-9]+)/$',
          views.item_detail, { 'modelname' : 'instructor' },
      ),
  ]
  
  stud = [
      url(r'^student/$', views.list_item, { 'modelname' : 'student' }),
      url(
          r'^student/(?P<itemid>[a-zA-Z0-9]+)/$',
          views.item_detail, { 'modelname' : 'student' },
      ),
  ]
  
  enr = [
      url(r'^enrollment/$', views.list_item, { 'modelname' : 'enrollment' }),
      url(
          r'^enrollment/(?P<itemid>[0-9]+)/$',
          views.item_detail, { 'modelname' : 'enrollment' },
      ),
  ]
  
  urlpatterns = statics + misc + course + ins + stud + enr
  
subject: fix bugs