aboutsummaryrefslogtreecommitdiffstats
path: root/examples/objectstore/urls.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-01-23 23:08:16 +0000
committertom christie tom@tomchristie.com2011-01-23 23:08:16 +0000
commit4100242fa2395bef8db0c5ffbab6f5d0cf95301d (patch)
tree0c8efd4dfdbdc6af7dca234291f8f8c7e3b035ff /examples/objectstore/urls.py
parent99799032721a32220c32d4a74a950bdd07b13cb3 (diff)
downloaddjango-rest-framework-4100242fa2395bef8db0c5ffbab6f5d0cf95301d.tar.bz2
Sphinx docs, examples, lots of refactoring
Diffstat (limited to 'examples/objectstore/urls.py')
-rw-r--r--examples/objectstore/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/objectstore/urls.py b/examples/objectstore/urls.py
new file mode 100644
index 00000000..c04e731e
--- /dev/null
+++ b/examples/objectstore/urls.py
@@ -0,0 +1,6 @@
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('objectstore.views',
+ (r'^$', 'ObjectStoreRoot'),
+ (r'^(?P<key>[A-Za-z0-9_-]{1,64})/$', 'StoredObject'),
+)