old_contents: from django.conf.urls import url, patterns, include
  from django.contrib import admin
  from django.shortcuts import render
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^captcha/', include('captcha.urls')),
      url(r'^accounts/', include('cab.urls.accounts')),
      url(r'^manage/', include(admin.site.urls)),
      url(r'^bookmarks/', include('cab.urls.bookmarks')),
      url(r'^comments/', include('django.contrib.comments.urls')),
      url(r'^feeds/', include('cab.urls.feeds')),
      url(r'^languages/', include('cab.urls.languages')),
      url(r'^popular/', include('cab.urls.popular')),
      url(r'^search/', include('cab.urls.search')),
      url(r'^snippets/', include('cab.urls.snippets')),
      url(r'^tags/', include('cab.urls.tags')),
      url(r'^users/', include('cab.urls.users')),
      url(r'^$', lambda request: render(request, 'homepage.html'), name='home'),
  )
  
new_contents: from django.conf.urls import url, patterns, include
  from django.contrib import admin
  from django.shortcuts import render
  from cab.views import snippets
  
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^captcha/', include('captcha.urls')),
      url(r'^accounts/', include('cab.urls.accounts')),
      url(r'^manage/', include(admin.site.urls)),
      url(r'^bookmarks/', include('cab.urls.bookmarks')),
      url(r'^comments/', include('django.contrib.comments.urls')),
      url(r'^feeds/', include('cab.urls.feeds')),
      url(r'^languages/', include('cab.urls.languages')),
      url(r'^popular/', include('cab.urls.popular')),
      url(r'^search/', include('cab.urls.search')),
      url(r'^snippets/', include('cab.urls.snippets')),
      url(r'^tags/', include('cab.urls.tags')),
      url(r'^users/(?P<username>[\.-\w]+)/$',
          snippets.author_snippets,
          name='cab_author_snippets'),
      url(r'^users/', include('cab.urls.users')),
      url(r'^$', lambda request: render(request, 'homepage.html'), name='home'),
  )
  
subject: Allow dots in usernames.