aboutsummaryrefslogtreecommitdiffstats
path: root/src/urls.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2010-12-29 19:37:57 +0000
committertom christie tom@tomchristie.com2010-12-29 19:37:57 +0000
commit650111dc8c0800e5b7d4c878c1d454657b68efca (patch)
treeb2cb8a07eb60abe20012b352d856bb1dcb13f440 /src/urls.py
downloaddjango-rest-framework-650111dc8c0800e5b7d4c878c1d454657b68efca.tar.bz2
Initial commit of all files to the repository.
Diffstat (limited to 'src/urls.py')
-rw-r--r--src/urls.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/urls.py b/src/urls.py
new file mode 100644
index 00000000..f6c598ce
--- /dev/null
+++ b/src/urls.py
@@ -0,0 +1,15 @@
+from django.conf.urls.defaults import patterns, include
+from django.contrib import admin
+
+admin.autodiscover()
+
+urlpatterns = patterns('',
+ # Example:
+ (r'^testarchive/', include('testarchive.urls')),
+
+ # Uncomment the admin/doc line below 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)),
+)