-
Notifications
You must be signed in to change notification settings - Fork 10
Add custom 4xx/5xx error page templates #465
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
Conversation
Yes I saw it, but I can't find the PR template markdown. |
This comment was marked as resolved.
This comment was marked as resolved.
Done! |
suecarmol
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for creating the templates. Some changes need to be made before we can merge this.
6df8a67 to
ff4fd17
Compare
ff4fd17 to
c7f2325
Compare
jsnshrmn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Noting that I'm not able to get the custom 500 page when I raise arbitrary exceptions within django; I've spent some time debugging, but have to call it a day.
|
I'd expect to see a custom 500 handler in there somewhere? |
That's strange... I can't seem to reproduce the issue. Did you explicitly run |
475d9f1 to
a545855
Compare
jsnshrmn
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍



Description
Added new templates for custom error pages in Django, along with
500.htmlin static for the NGINX config.Rationale
Currently, Wikilink only has generic 500 error pages. These can be confusing for end users. We should create more informative error pages.
Phabricator Ticket
https://phabricator.wikimedia.org/T350820
How Has This Been Tested?
Setting
DEBUG = Falseinextlinks/settings/local.py.Screenshots of your changes (if appropriate):
Types of changes
What types of changes does your code introduce? Add an
xin all the boxes that apply: