root/urls.py

Revision ae1d1d5bc6851e3ecffcff3036145c0a2c7e8a7a, 0.9 KB (checked in by Comrade DOS <dos@…>, 20 months ago)

Inital commib. Basic UI.

  • Property mode set to 100755
Line 
1from django.conf.urls.defaults import *
2from django.views.generic.simple import direct_to_template
3from django.conf import settings
4import staticmedia
5
6# Uncomment the next two lines to enable the admin:
7# from django.contrib import admin
8# admin.autodiscover()
9
10if settings.DEBUG:
11    urlpatterns = staticmedia.serve()
12else:
13    urlpatterns = patterns('')
14
15urlpatterns += patterns('',
16    (r'^captcha/', include('captcha.urls')),
17    (r'^compress/', include('compress.urls')),
18    (r'^', include('habahaba.urls')),
19    (r'^lite/',include('habahaba.lite.urls')),
20    # Example:
21    # (r'^jabber/', include('jabber.foo.urls')),
22
23    # Uncomment the admin/doc line below and add 'django.contrib.admindocs'
24    # to INSTALLED_APPS to enable admin documentation:
25    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
26
27    # Uncomment the next line to enable the admin:
28    # (r'^admin/', include(admin.site.urls)),
29)
30
Note: See TracBrowser for help on using the browser.