Files @ 509ed963b5e1
Branch filter:

Location: conntrackt/projtest/projtest/urls.py

branko
CONNT-2: Implemented project editing, and removal. Added tests for project add/edit/remove views. Added rendering of messages in the base template. Renamed the project_add view to project_create in order to follow the view naming schema. Cleaned-up some PEP8 errors (unrelated to issue).
# Django imports
from django.conf.urls import patterns, include, url
from django.contrib import admin
from django.http import HttpResponseRedirect


# Auto-discover admin interface.
admin.autodiscover()


urlpatterns = patterns(
    '',
    # Examples:
    # url(r'^$', 'projtest.views.home', name='home'),
    # url(r'^projtest/', include('projtest.foo.urls')),
    url(r'^$', lambda r: HttpResponseRedirect('conntrackt/')),
    url(r'^conntrackt/', include('conntrackt.urls')),


    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)