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

Fix 403 Error Page Aesthetics #592

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

JigyasuRajput
Copy link
Contributor

@JigyasuRajput JigyasuRajput commented Dec 17, 2024

Cambios propuestos:

  • Fixed the 403 error page to match the site's aesthetics.

Temas tratados:

Pruebas realizadas:

  • Ran the tests successfully with no errors.
  • Tested on Ubuntu 20.04

Cómo probar los cambios:

  1. Join a company on the site.
  2. Manually visit the URL https://www.python.org.ar/empresas/agregar/ to confirm the 403 page is displayed with the updated aesthetics.

image

Gracias por contribuir con el proyecto.

Estamos pendiente de revisar los cambios propuestos.

Copy link
Member

@facundobatista facundobatista left a comment

Choose a reason for hiding this comment

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

It looks there are changes here that are also in other proposed PR?

Also please double check changes, there are some that are not really changing anything useful, thanks!

@@ -399,7 +401,7 @@ def get_queryset(self):
queryset = super().get_queryset()
search = self.request.GET.get('search')

if search:
if (search):
Copy link
Member

Choose a reason for hiding this comment

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

Why this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hello @eduzen,
I’ve reviewed your feedback and reverted the unnecessary changes in the PR. The updates now focus solely on fixing the issue with the 403 error page aesthetics.

Please let me know if there’s anything else that needs adjustment or improvement. I appreciate your guidance and time

Thank you!

joboffer_url = reverse('joboffers:view', kwargs={'slug': dummy_job_slug})
expected_url = "".join(('https://example.com', joboffer_url))

joboffer = JobOffer(slug=dummy_job_slug)
result = joboffer.get_full_url()
assert expected_url == result

assert result == expected_url
Copy link
Member

Choose a reason for hiding this comment

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

All these changes does not add any value...

@JigyasuRajput JigyasuRajput changed the title Fix 403 Error Page Aesthetics and Ensure Consistent URL Generation Fix 403 Error Page Aesthetics Jan 4, 2025
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.

403 cuando quiero agregar una empresa ya estando asociado a otra
3 participants