old_contents: from django.conf.urls import include, url
  from django.contrib import admin
  from django.views.generic import TemplateView
  
  urlpatterns = [
      url(r'^$', TemplateView.as_view(
          template_name='index.html'),
          name='home'),
      url(r'^admin/', include(admin.site.urls))
  ]
  
new_contents: from django.conf import settings
  from django.conf.urls import include, url
  from django.contrib import admin
  from django.views.generic import TemplateView
  
  urlpatterns = [
      url(r'^$', TemplateView.as_view(
          template_name='index.html'),
          name='home'),
  
      # Django Admin, use {% raw %}{% url 'admin:index' %}{% endraw %}
      url(settings.ADMIN_URL, include(admin.site.urls))
  ]
  
subject: Add custom admin url