urls.py 744 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'),
fred's avatar
fred committed
11
12
13
14
15
16
17
18
19
20
21
22
23
24
    url(r'^emissions/', include('emissions.urls')),
    url(r'^ckeditor/', include('ckeditor.urls')),

    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