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

Add custom pages for error code lke 403, 404, 500 for non-dev environment #199

Open
shahharsh176 opened this issue Apr 11, 2024 · 3 comments
Assignees
Labels
feature New feature request good first issue Good for newcomers

Comments

@shahharsh176
Copy link
Contributor

shahharsh176 commented Apr 11, 2024

Description

Add custom pages for error codes like 403, 404, and 500 for non-development environments.

Background

Currently, error pages (such as 404, 500, 502, etc.) are served with default templates, which may not provide the best user experience. We need to enhance this by adding custom error templates for these specific error codes in the non-development environment.

Feature Details

  • Create the custom template for the below error codes
    - 403
    - 404
    - 500
  • We can utilize Django handlers, such as https://docs.djangoproject.com/en/4.2/ref/urls/#handler400
  • Initially, simple templates can be added for each error code, and the updated templates will be included in this issue.

From a development perspective, the required changes to implement custom templates for error codes can be made initially, and then the final templates will be updated accordingly.

@shahharsh176 shahharsh176 added the feature New feature request label Apr 11, 2024
@shahharsh176 shahharsh176 changed the title Add custom templates for error code lke 404, 500, 502, etc. for non-dev environment Add custom templates for error code lke 403, 404, 500 etc. for non-dev environment Apr 12, 2024
@shahharsh176 shahharsh176 changed the title Add custom templates for error code lke 403, 404, 500 etc. for non-dev environment Add custom templates for error code lke 403, 404, 500 for non-dev environment Apr 12, 2024
@shahharsh176 shahharsh176 added the good first issue Good for newcomers label Apr 12, 2024
@shahharsh176 shahharsh176 changed the title Add custom templates for error code lke 403, 404, 500 for non-dev environment Add custom pages for error code lke 403, 404, 500 for non-dev environment Apr 12, 2024
@ise8933
Copy link

ise8933 commented Apr 22, 2024

Hello! I would like to try to contribute to this. Can I be added to this?

@JohnPaul-404
Copy link

/assign JohnPaul-404

@kc-diabeat
Copy link
Contributor

Hi @JohnPaul-404 Thanks for your interest in this issue. I have assigned it to you. Please share the expected timeline. @shahharsh176 Pls share our existing html templates if they can be of use here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants