old_contents: from django.conf.urls import patterns, url
  from django.views.generic.base import TemplateView
  from django.contrib.auth.decorators import login_required
  from unicoremc import views
  
  
  urlpatterns = patterns(
      '',
      url(
          r'^$',
          login_required(
              TemplateView.as_view(template_name='unicoremc/home.html')),
          name='home'
      ),
      url(
          r'^login/$',
          TemplateView.as_view(template_name='unicoremc/login.html'),
          name='login'
      ),
      url(
          r'^new/$',
          'unicoremc.views.new_project_view',
          name='new_project'
      ),
      url(
          r'^new/create/$',
          'unicoremc.views.start_new_project',
          name='start_new_project'
      ),
      url(
          r'^progress/$',
          'unicoremc.views.projects_progress',
          name='projects_progress'
      ),
      url(
          r'^advanced/(?P<project_id>\d+)/$',
          login_required(views.ProjectEditView.as_view()),
          name='advanced'),
      url(
          r'^logout/$',
          'django.contrib.auth.views.logout_then_login',
          name='logout'
      ),
  )
  
new_contents: from django.conf.urls import patterns, url
  from django.views.generic.base import TemplateView
  from django.contrib.auth.decorators import login_required, permission_required
  from unicoremc import views
  
  
  urlpatterns = patterns(
      '',
      url(
          r'^$',
          login_required(
              TemplateView.as_view(template_name='unicoremc/home.html')),
          name='home'
      ),
      url(
          r'^login/$',
          TemplateView.as_view(template_name='unicoremc/login.html'),
          name='login'
      ),
      url(
          r'^new/$',
          'unicoremc.views.new_project_view',
          name='new_project'
      ),
      url(
          r'^new/create/$',
          'unicoremc.views.start_new_project',
          name='start_new_project'
      ),
      url(
          r'^progress/$',
          'unicoremc.views.projects_progress',
          name='projects_progress'
      ),
      url(
          r'^advanced/(?P<project_id>\d+)/$',
          permission_required('project.can_change')(
              login_required(views.ProjectEditView.as_view())),
          name='advanced'),
      url(
          r'^logout/$',
          'django.contrib.auth.views.logout_then_login',
          name='logout'
      ),
  )
  
subject: add perms required to advanced page