Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utils error handlers and templates for Brief Responses #76

Merged

Conversation

katstevens
Copy link
Contributor

Trello: https://trello.com/c/kqjkCP72/101-move-csrf-session-expired-message-to-utils

Trying out the new error handling and templates in the Brief Responses FE.

I've added a couple of tests in test_application as examples to check that 1) the CSRF error handler is being invoked correctly 2) the 400.html toolkit template is being used. There are more comprehensive tests for each common exception class/error template in the utils repo.

Copy link
Contributor

@lfdebrux lfdebrux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for running through this for me, everything makes sense now 👍

@katstevens
Copy link
Contributor Author

Functional tests seem OK locally - let's merge and find out...

@katstevens katstevens merged commit 37be971 into master Aug 10, 2018
@katstevens katstevens deleted the 372-your-session-has-expired-instead-of-ugly-csrf-message branch August 10, 2018 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants