web/ldtplatform/urls.py
changeset 2 93d48df946cb
parent 0 bdf22b140727
child 13 97ab7b3191cf
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldtplatform/urls.py	Fri Jan 28 14:15:00 2011 +0100
@@ -0,0 +1,25 @@
+from django.conf.urls.defaults import patterns ,include, url
+from django.contrib import admin
+
+
+# Uncomment the next two lines to enable the admin:
+admin.autodiscover()
+
+urlpatterns = patterns('',
+    # Example:
+
+    # Uncomment the admin/doc line below and add 'django.contrib.admindocs' 
+    # to INSTALLED_APPS to enable admin documentation:
+    # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
+
+    # Uncomment the next line to enable the admin:
+    (r'^admin/', include(admin.site.urls)),
+    (r'^i18n/', include('django.conf.urls.i18n')),
+
+    (r'^ldt/', include('ldt.ldt_utils.urls')),
+    (r'^user/', include('ldt.user.urls')),
+
+    (r'^accounts/', include('registration.backends.simple.urls')),
+    
+    (r'^/?$', 'django.views.generic.simple.redirect_to', {'url': 'ldt'}),
+)