Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.
Closed
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
97bafc2
[Material] Add sphinx-material 3rd party package
shorodilov Dec 21, 2023
5450a5c
[Material] Change documentation theme
shorodilov Dec 21, 2023
08b0787
Change toctrees max depth to 2 entries
shorodilov Dec 22, 2023
77ec7b1
Change toctrees max depth to 2 entries
shorodilov Dec 22, 2023
4d48af5
Add legacy document to exclude patterns
shorodilov Dec 22, 2023
9e6121e
Merge branch 'devel' into feature/material4sphinx
shorodilov Dec 22, 2023
2d15485
Remove HTML minify flag to preserve mermaid diagrams rendering
shorodilov Dec 22, 2023
469a009
[Material] Apply material theme for the documentation (#147)
shorodilov Dec 22, 2023
b8958c1
Move submodules with specifications to "spec" directory
shorodilov Dec 22, 2023
fa7bf0e
Fix indentation in appx toctree (tabs vs spaces)
shorodilov Dec 22, 2023
1b23933
Update specifications submodules
shorodilov Dec 22, 2023
c12cbc3
Move specifications translations according
shorodilov Dec 22, 2023
c9350cb
Update giver site specification submodule
shorodilov Dec 22, 2023
a3e2ee5
Add redirects support for the documentation builder
shorodilov Dec 22, 2023
6874c7f
Setup redirects for renamed submodules
shorodilov Dec 22, 2023
bada0bd
[Specification] Update specification submodules (#150)
shorodilov Dec 22, 2023
6f362fc
Start working on Django materials
shorodilov Oct 25, 2023
5e1a268
Add URL dispatcher document (draft)
shorodilov Oct 26, 2023
e90037d
Rename URLConf document and add missed CBV document
shorodilov Dec 22, 2023
8a61cc2
Add URLConf and requests examples
shorodilov Dec 22, 2023
4f9f0de
Fix documents naming (URL dispatcher)
shorodilov Dec 22, 2023
c3cc0ad
Add Django docs to bibliography db
shorodilov Dec 22, 2023
074fc04
Add path converters section
shorodilov Dec 22, 2023
89980fb
Add regular expression section
shorodilov Dec 22, 2023
0df666e
Add error handling section
shorodilov Dec 22, 2023
baa005b
Add URLs include section
shorodilov Dec 22, 2023
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add error handling section
  • Loading branch information
shorodilov committed Dec 22, 2023
commit 0df666ecf6543a09e90a9bf27fe6a2fd2ffa2b9e
17 changes: 16 additions & 1 deletion src/django/urls.txt
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,22 @@ the shorter unnamed group, e.g. ``(\d{4})``.
Error handling
==============

.. todo: error handling
When Django can't find a match for the requested URL, or when an exception
is raised, Django invokes an error-handling view.

The views to use for these cases are specified by four variables. Their
default values should suffice for most projects, but further customization
is possible by overriding their default values.

The variables are:

- ``handler400``
- ``handler403``
- ``handler404``
- ``handler500``

.. todo: add seealso
.. todo: add customizing error views

Including other URL confs
=========================
Expand Down