dpaste/dpaste/urls/__init__.py

11 lines
349 B
Python

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'
handler500 = 'dpaste.views.server_error'