urls.py 693 Bytes
Newer Older
1
from django.conf.urls import patterns, include, url
2
from django.conf.urls.i18n import i18n_patterns
3

4
# Enable the admin:
chris's avatar
chris committed
5 6
from django.contrib import admin
admin.autodiscover()
7 8

urlpatterns = patterns('',
Christophe Siraut's avatar
Christophe Siraut committed
9 10
    url(r'^', include('nuages_base.urls')),
    url(r'^m/', include('meetingpoll.urls')),
Christophe Siraut's avatar
Christophe Siraut committed
11
    url(r'^accounts/', include('registration.backends.default.urls')),
Christophe Siraut's avatar
Christophe Siraut committed
12
    #url(r'^i18n/', include('django.conf.urls.i18n')),
13 14
    url(r'^admin/', include(admin.site.urls)),
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
15
)
christophe siraut's avatar
christophe siraut committed
16

17
urlpatterns += i18n_patterns('',
Christophe Siraut's avatar
Christophe Siraut committed
18
    url(r'^', include('nuages_base.urls_translated')),
19
)
Christophe Siraut's avatar
Christophe Siraut committed
20 21 22 23 24

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