mirror of https://github.com/sgoudham/Enso-Bot.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
402 B
Python
14 lines
402 B
Python
from django.urls import include, re_path
|
|
from django.views import defaults
|
|
|
|
__all__ = ['handler400', 'handler403', 'handler404', 'handler500', 'include', 'url']
|
|
|
|
handler400 = defaults.bad_request
|
|
handler403 = defaults.permission_denied
|
|
handler404 = defaults.page_not_found
|
|
handler500 = defaults.server_error
|
|
|
|
|
|
def url(regex, view, kwargs=None, name=None):
|
|
return re_path(regex, view, kwargs, name)
|