| author | ymh <ymh.work@gmail.com> |
| Sat, 29 Jan 2011 06:46:14 +0100 | |
| changeset 13 | 97ab7b3191cf |
| parent 2 | 93d48df946cb |
| child 22 | 03d02cf0bea7 |
| permissions | -rw-r--r-- |
|
13
97ab7b3191cf
add api to update project, uses psiton
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
1 |
from django.conf.urls.defaults import patterns ,include |
| 0 | 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')), |
|
|
13
97ab7b3191cf
add api to update project, uses psiton
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
21 |
(r'^api/', include('ldt.api.urls')), |
| 0 | 22 |
|
23 |
(r'^accounts/', include('registration.backends.simple.urls')), |
|
24 |
||
25 |
(r'^/?$', 'django.views.generic.simple.redirect_to', {'url': 'ldt'}), |
|
26 |
) |