django-rest-framework/examples/pygments_api/urls.py
2011-01-30 11:00:20 +00:00

7 lines
174 B
Python

from django.conf.urls.defaults import patterns
urlpatterns = patterns('pygments_api.views',
(r'^$', 'PygmentsRoot'),
(r'^([a-zA-Z0-9-]+)/$', 'PygmentsInstance'),
)