Code

Opened 4 years ago

Closed 4 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

Attachments (0)

Change History (1)

comment:1 Changed 4 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.