dpaste/dpaste/urls/__init__.py

12 lines
349 B
Python
Raw Normal View History

2013-11-25 05:46:47 +11:00
from django.conf.urls import url, patterns, include
urlpatterns = patterns(
'',
url(r'^', include('dpaste.urls.dpaste_api')),
url(r'^', include('dpaste.urls.dpaste')),
)
# Custom error handlers which load `dpaste/<code>.html` instead of `<code>.html`
handler404 = 'dpaste.views.page_not_found'
2013-11-25 05:46:47 +11:00
handler500 = 'dpaste.views.server_error'