aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/urls.py
diff options
context:
space:
mode:
authortom christie tom@tomchristie.com2011-01-30 11:00:20 +0000
committertom christie tom@tomchristie.com2011-01-30 11:00:20 +0000
commit250ab0f609f32cd3e004e1f2711f9c2e4fd9b57c (patch)
tree915eeda0528dab3159958500c117e9285bc56ef3 /examples/pygments_api/urls.py
parent40f47a9fb31aebd965dce03ae57c036d5360d124 (diff)
downloaddjango-rest-framework-250ab0f609f32cd3e004e1f2711f9c2e4fd9b57c.tar.bz2
Lots of docs, trying to tidy up examples...
Diffstat (limited to 'examples/pygments_api/urls.py')
-rw-r--r--examples/pygments_api/urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pygments_api/urls.py b/examples/pygments_api/urls.py
index 39bcf668..f96f4518 100644
--- a/examples/pygments_api/urls.py
+++ b/examples/pygments_api/urls.py
@@ -2,5 +2,5 @@ from django.conf.urls.defaults import patterns
urlpatterns = patterns('pygments_api.views',
(r'^$', 'PygmentsRoot'),
- (r'^([a-zA-Z0-9]+)/$', 'PygmentsInstance'),
+ (r'^([a-zA-Z0-9-]+)/$', 'PygmentsInstance'),
)