Opened 15 years ago
Closed 15 years ago
#13590 closed (fixed)
403 error page with DEBUG = True is not styled
| Reported by: | alefteris | Owned by: | nobody | 
|---|---|---|---|
| Component: | Uncategorized | Version: | 1.2 | 
| Severity: | Keywords: | ||
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no | 
| Needs tests: | no | Patch needs improvement: | no | 
| Easy pickings: | no | UI/UX: | no | 
Description
With DEBUG = True the "403 Forbidden. CSRF verification failed. Request aborted." error page that Django displays by default is not styled with CSS. This makes it look as a standard browser error page instead of a page that Django displays when debugging is enabled. Other Django error pages that I have seen (like 404) have nice styling and look consistent.
Thanks
  Note:
 See   TracTickets
 for help on using tickets.
    
(In [13300]) Fixed #13590 - Made CSRF failure page styling consistent with Django's default error page styling.
Thanks to alefteris for suggestion.