Development of an internal social media platform with personalised dashboards for students
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

__init__.py 402B

12345678910111213
  1. from django.urls import include, re_path
  2. from django.views import defaults
  3. __all__ = ['handler400', 'handler403', 'handler404', 'handler500', 'include', 'url']
  4. handler400 = defaults.bad_request
  5. handler403 = defaults.permission_denied
  6. handler404 = defaults.page_not_found
  7. handler500 = defaults.server_error
  8. def url(regex, view, kwargs=None, name=None):
  9. return re_path(regex, view, kwargs, name)