Opened 5 years ago

Closed 5 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:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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

Change History (1)

comment:1 Changed 5 years ago by lukeplant

  • Resolution set to fixed
  • Status changed from new to closed

(In [13300]) Fixed #13590 - Made CSRF failure page styling consistent with Django's default error page styling.

Thanks to alefteris for suggestion.

Note: See TracTickets for help on using tickets.
Back to Top