equal
deleted
inserted
replaced
|
1 from django.conf.urls.defaults import patterns ,include, url |
|
2 from django.contrib import admin |
|
3 |
|
4 |
|
5 # Uncomment the next two lines to enable the admin: |
|
6 admin.autodiscover() |
|
7 |
|
8 urlpatterns = patterns('', |
|
9 # Example: |
|
10 |
|
11 # Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
12 # to INSTALLED_APPS to enable admin documentation: |
|
13 # (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
14 |
|
15 # Uncomment the next line to enable the admin: |
|
16 (r'^admin/', include(admin.site.urls)), |
|
17 (r'^i18n/', include('django.conf.urls.i18n')), |
|
18 |
|
19 (r'^ldt/', include('ldt.ldt_utils.urls')), |
|
20 (r'^user/', include('ldt.user.urls')), |
|
21 |
|
22 (r'^accounts/', include('registration.backends.simple.urls')), |
|
23 |
|
24 (r'^/?$', 'django.views.generic.simple.redirect_to', {'url': 'ldt'}), |
|
25 ) |