aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pygments_api/urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pygments_api/urls.py')
-rw-r--r--examples/pygments_api/urls.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/examples/pygments_api/urls.py b/examples/pygments_api/urls.py
new file mode 100644
index 00000000..39bcf668
--- /dev/null
+++ b/examples/pygments_api/urls.py
@@ -0,0 +1,6 @@
+from django.conf.urls.defaults import patterns
+
+urlpatterns = patterns('pygments_api.views',
+ (r'^$', 'PygmentsRoot'),
+ (r'^([a-zA-Z0-9]+)/$', 'PygmentsInstance'),
+)