old_contents: from django.conf import settings
  from django.conf.urls import include, url
  from django.contrib import admin
  from django.views.decorators.cache import cache_page
  
  from base import views as base_views
  
  urlpatterns = [
      url(r'^api/v1/accounts/', include('accounts.urls', namespace='accounts')),
      url(r'^api/v1/getdata/', include('base.urls', namespace='base')),
      url(r'^admin/', admin.site.urls),
  
      # catch all others because of how history is handled by react router - cache this page because it will never change
      url(r'', cache_page(settings.PAGE_CACHE_SECONDS)(base_views.IndexView.as_view()), name='index'),
  ]
  
new_contents: from django.conf import settings
  from django.conf.urls import include, url
  from django.views.decorators.cache import cache_page
  
  from base import views as base_views
  
  urlpatterns = [
      url(r'^api/v1/accounts/', include('accounts.urls', namespace='accounts')),
      url(r'^api/v1/getdata/', include('base.urls', namespace='base')),
  
      # catch all others because of how history is handled by react router - cache this page because it will never change
      url(r'', cache_page(settings.PAGE_CACHE_SECONDS)(base_views.IndexView.as_view()), name='index'),
  ]
  
subject: Remove admin url from urls.py