django-rest-framework/examples/pygments_api/urls.py

7 lines
174 B
Python
Raw Normal View History

2011-01-26 11:58:09 +03:00
from django.conf.urls.defaults import patterns
urlpatterns = patterns('pygments_api.views',
(r'^$', 'PygmentsRoot'),
(r'^([a-zA-Z0-9-]+)/$', 'PygmentsInstance'),
2011-01-26 11:58:09 +03:00
)