urls.py 853 Bytes
Newer Older
fred's avatar
fred committed
1
2
3
4
5
6
7
8
9
from django.conf.urls import patterns, include, url
from django.views.generic import RedirectView
from django.core.urlresolvers import reverse_lazy

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^$', 'panikweb.views.home', name='home'),
fred's avatar
fred committed
10
    url(r'^program$', 'panikweb.views.program', name='program'),
Simon Daron's avatar
Simon Daron committed
11
    url(r'^grid$', 'panikweb.views.grid', name='grid'),
fred's avatar
fred committed
12
13
    url(r'^emissions/', include('emissions.urls')),
    url(r'^ckeditor/', include('ckeditor.urls')),
Simon Daron's avatar
Simon Daron committed
14
    url(r'^get$', 'panikweb.views.get', name='get'),
fred's avatar
fred committed
15
16
17
18
19
20
21
22
23
24
25
26

    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
)

from django.contrib.staticfiles.urls import staticfiles_urlpatterns
urlpatterns += staticfiles_urlpatterns()

try:
    from local_urls import *
except ImportError, e:
    pass