monosans
|
30e8506872
|
Add djLint for HTML formatting and linting (#4389)
* Add djLint for HTML formatting and linting
* Remove djLint pre-commit hook
* Bump djLint from 1.31.0 to 1.31.1
|
2023-06-27 22:52:36 +01:00 |
|
Bruno Alla
|
c382894934
|
Fix pre-commit hook issues
|
2021-04-07 20:57:04 +01:00 |
|
Andrew Chen Wang
|
1aa4c31b87
|
Change confusing CSRF 403 message
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
|
2021-02-22 15:45:05 -05:00 |
|
Andrew Chen Wang
|
3a1e94f41c
|
Use exception var in 403.html if available
|
2021-01-01 22:40:30 -05:00 |
|
step21
|
c085345253
|
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
|
2019-07-17 15:14:16 +02:00 |
|