No template errors/403_csrf/html #56

Closed
opened 2024-03-15 14:15:44 +01:00 by Dalai Felinto · 1 comment

in the file common/views/errors.py the function csrf_failure tries to use a non-existing template: errors/403_csrf.html.

I wonder if we should just use template_name='common/error.html' instead.

The code where this was introduced never shipped with the template: 0c86ff5b13

in the file `common/views/errors.py` the function `csrf_failure` tries to use a non-existing template: `errors/403_csrf.html`. I wonder if we should just use template_name='common/error.html' instead. The code where this was introduced never shipped with the template: 0c86ff5b136f571701501080ddcec9252e2b11c6
Owner

We probably don't need a custom template for CSRF errors, yes.
Removed this override in 8ab3b4af05 .

We probably don't need a custom template for CSRF errors, yes. Removed this override in 8ab3b4af05be56e02c0e13834831265994388308 .
Anna Sirota self-assigned this 2024-04-04 09:17:28 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#56
No description provided.