old_contents: from django.conf.urls import url
  
  from . import views
  
  slug_pattern = '[a-z0-9_.-]+'
  urlpatterns = [
      url(r'^$', views.home),
      url(r'^(%s)/' % slug_pattern, views.group),
      url(r'^(%s)/(%s)/' % ((slug_pattern,) * 2), views.project),
  ]
  
new_contents: from django.conf.urls import url
  
  from . import views
  
  slug_pattern = '[a-z0-9_.-]+'
  urlpatterns = [
      url(r'^$', views.home),
      url(r'^(%s)/$' % slug_pattern, views.group),
      url(r'^(%s)/(%s)/$' % ((slug_pattern,) * 2), views.project),
  ]
  
subject: fix urls to match correct views