text: from django.conf.urls import patterns, include, url
  from django.views.generic.base import RedirectView
  
  from django.contrib import admin
  admin.autodiscover()
  
  urlpatterns = patterns('',
      url(r'^$', RedirectView.as_view(url='/instances', permanent=False), name='home'),
      url(r'^connect_instance/', 'picostack.vms.views.get_connection_details', name='connect_instance'),
      url(r'^list_instances/', 'picostack.vms.views.list_instances', name='list_instance'),
      url(r'^instances/', 'picostack.vms.views.manage_instances', name='view_instances'),
      url(r'^logout/', 'picostack.vms.views.logout_view', name='logout'),
      url(r'^novnc/', 'picostack.vms.views.novnc', name='novnc'),
      url(r'^admin/', include(admin.site.urls)),
      url(r'^accounts/login/$', 'django.contrib.auth.views.login',
          {'template_name': 'frontend_registration/login.html'}),
  )
  