tests/check_framework/urls/good_error_handler_deferred_annotations.py
raw| 1 | from typing import TYPE_CHECKING |
| 2 | |
| 3 | if TYPE_CHECKING: |
| 4 | from django.http.request import HttpRequest |
| 5 | |
| 6 | urlpatterns = [] |
| 7 | |
| 8 | handler400 = __name__ + ".good_handler_deferred_annotations" |
| 9 | handler403 = __name__ + ".good_handler_deferred_annotations" |
| 10 | handler404 = __name__ + ".good_handler_deferred_annotations" |
| 11 | handler500 = __name__ + ".good_handler_deferred_annotations" |
| 12 | |
| 13 | |
| 14 | def good_handler_deferred_annotations(request: HttpRequest, exception=None): |
| 15 | pass |