| author | wakimd |
| Fri, 11 Feb 2011 11:51:35 +0100 | |
| changeset 22 | 03d02cf0bea7 |
| parent 13 | 97ab7b3191cf |
| child 28 | 5cba2808cde0 |
| permissions | -rw-r--r-- |
| 22 | 1 |
from django.conf.urls.defaults import patterns, include, handler500, handler404 |
| 0 | 2 |
from django.contrib import admin |
| 22 | 3 |
from ldt.text import VERSION_STR |
| 0 | 4 |
|
5 |
||
6 |
# Uncomment the next two lines to enable the admin: |
|
7 |
admin.autodiscover() |
|
8 |
||
9 |
urlpatterns = patterns('', |
|
10 |
# Example: |
|
11 |
||
12 |
# Uncomment the admin/doc line below and add 'django.contrib.admindocs' |
|
13 |
# to INSTALLED_APPS to enable admin documentation: |
|
14 |
# (r'^admin/doc/', include('django.contrib.admindocs.urls')), |
|
15 |
||
16 |
# Uncomment the next line to enable the admin: |
|
17 |
(r'^admin/', include(admin.site.urls)), |
|
18 |
(r'^i18n/', include('django.conf.urls.i18n')), |
|
19 |
||
20 |
(r'^ldt/', include('ldt.ldt_utils.urls')), |
|
21 |
(r'^user/', include('ldt.user.urls')), |
|
|
13
97ab7b3191cf
add api to update project, uses psiton
ymh <ymh.work@gmail.com>
parents:
2
diff
changeset
|
22 |
(r'^api/', include('ldt.api.urls')), |
| 22 | 23 |
(r'^api/' + VERSION_STR + '/text/', include('ldt.text.urls')), |
| 0 | 24 |
|
25 |
(r'^accounts/', include('registration.backends.simple.urls')), |
|
| 22 | 26 |
(r'^oauth/', include('oauth_provider.urls')), |
| 0 | 27 |
|
28 |
(r'^/?$', 'django.views.generic.simple.redirect_to', {'url': 'ldt'}), |
|
29 |
) |