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:
step21 2019-07-17 15:14:16 +02:00 committed by GitHub
parent 8fa182c4f0
commit c085345253
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23