old_contents: """hackfsu_com URL Configuration
  
  The `urlpatterns` list routes URLs to views. For more information please see:
      https://docs.djangoproject.com/en/1.10/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 URL conf
      1. Import the include() function: from django.conf.urls import url, include
      2. 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 import settings
  from django.conf.urls.static import static
  from django.views.generic.base import RedirectView
  from django.urls import reverse
  
  app_name = 'hackfsu'
  handler404 = 'webapp.views.handler404'
  handler500 = 'webapp.views.handler500'
  
  urlpatterns = [
      url(r'^api/', include('api.urls', namespace='api')),
      url('', include('webapp.urls', namespace='webapp'))
  ]
  
  # Shortcuts
  urlpatterns.extend([
      url(r'^register/$', RedirectView.as_view(url=reverse('webapp:registration-user'))),
      url(r'^login/$', RedirectView.as_view(url=reverse('webapp:user-login'))),
      url(r'^logout/$', RedirectView.as_view(url=reverse('webapp:user-logout')))
  ])
  
  if settings.DEBUG:
      urlpatterns.extend([
          url(r'^admin/', admin.site.urls)
      ])
      urlpatterns.extend(static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT))
  
new_contents: """hackfsu_com URL Configuration
  
  The `urlpatterns` list routes URLs to views. For more information please see:
      https://docs.djangoproject.com/en/1.10/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 URL conf
      1. Import the include() function: from django.conf.urls import url, include
      2. 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 import settings
  from django.conf.urls.static import static
  from django.views.generic.base import RedirectView
  from django.urls import reverse
  
  app_name = 'hackfsu'
  handler404 = 'webapp.views.handler404'
  handler500 = 'webapp.views.handler500'
  
  urlpatterns = [
      url(r'^api/', include('api.urls', namespace='api')),
      url(r'^admin/django/', admin.site.urls),
      url('', include('webapp.urls', namespace='webapp'))
  ]
  
  # Shortcuts
  urlpatterns.extend([
      url(r'^register/$', RedirectView.as_view(url=reverse('webapp:registration-user'))),
      url(r'^login/$', RedirectView.as_view(url=reverse('webapp:user-login'))),
      url(r'^logout/$', RedirectView.as_view(url=reverse('webapp:user-logout')))
  ])
  
  if settings.DEBUG:
      urlpatterns.extend(static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT))
  
subject: allow django admin in production