old_contents: from django.conf import settings
  from django.conf.urls.static import static
  from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.views.generic import TemplateView
  
  from .web.views import specific_secret
  from .api.urls import router
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^$', TemplateView.as_view(template_name="base.html"), name='index'),
      url(r'(?P<uid>\w+)/^$', specific_secret, name='index'),
      url(r'^api/v1/', include(router.urls)),
      url(r'^admin-panel/$', include(admin.site.urls)),
  ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  
new_contents: from django.conf import settings
  from django.conf.urls.static import static
  from django.conf.urls import patterns, include, url
  from django.contrib import admin
  from django.views.generic import TemplateView
  
  from .web.views import specific_secret
  from .api.urls import router
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^$', TemplateView.as_view(template_name="base.html"), name='index'),
      url(r'^(?P<uid>\w+)/$', specific_secret, name='detail'),
      url(r'^api/v1/', include(router.urls)),
      url(r'^admin-panel/$', include(admin.site.urls)),
  ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
  
subject: Fix url