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

Return user to login page on unauthenticated HTMX request #971

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

Conversation

elfjes
Copy link
Collaborator

@elfjes elfjes commented Nov 27, 2024

requires #955

changes: 78fe19e

hmpf and others added 22 commits November 27, 2024 07:54
Improve some of the docs mentioning urls.py for readability.
.. with some changes because setuptools uses .gitignore to decide what
files to include in the package while flit does not.
(Why weren't there automated complaints about this before?)
Set ROOT_URLCONF to path+"root_urls" instead of path+"urls" so that
urls.py can be dedicated only to the endpoints added by the app
argus_htmx depends on both django_htmx and widget_tweaks so let's load it
at the end to underline that fact.
@elfjes elfjes changed the title Hx redirect login Return user to login page on unauthenticated HTMX request Nov 27, 2024
Copy link

sonarcloud bot commented Nov 27, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
9 Security Hotspots
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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.

2 participants