mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-23 01:57:03 +03:00
Rename 403_csrf.html to 403.html
403.html is the name that django expects, unless it is overriden. 403_csrf is a separate case, which according to django docs and mailing list should get a separate view/template. Fixes #2163 Docs: https://docs.djangoproject.com/en/2.1/ref/csrf/#rejected-requests Mailing list: https://groups.google.com/forum/#!msg/django-developers/O2raF0RVGA0/44-3Jz0jCwAJ Stackoverflow: https://stackoverflow.com/questions/31981239/django-custom-403-template
This commit is contained in:
parent
8fa182c4f0
commit
c085345253
Loading…
Reference in New Issue
Block a user