mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
11 lines
349 B
Python
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'
|