diff options
| author | tom christie tom@tomchristie.com | 2011-01-26 08:58:09 +0000 |
|---|---|---|
| committer | tom christie tom@tomchristie.com | 2011-01-26 08:58:09 +0000 |
| commit | 6807cf014cb0fde611f63c64bc352038206176cc (patch) | |
| tree | b5ebd4414852bf39efdf5380c57875c91e798ee2 /examples/pygments_api/urls.py | |
| parent | eff54c00d514e1edd74fbc789f9064d09db40b02 (diff) | |
| download | django-rest-framework-6807cf014cb0fde611f63c64bc352038206176cc.tar.bz2 | |
Added pygments_api example
Diffstat (limited to 'examples/pygments_api/urls.py')
| -rw-r--r-- | examples/pygments_api/urls.py | 6 |
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'), +) |
