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

chore: login in debug/dev mode #829

Merged
merged 3 commits into from
Nov 20, 2024
Merged

chore: login in debug/dev mode #829

merged 3 commits into from
Nov 20, 2024

Conversation

vincentporte
Copy link
Contributor

@vincentporte vincentporte commented Nov 18, 2024

Description

🎸 lorsque le mode DEBUG est actif:

  • afficher le lien magique de connexion au lieu d'utiliser les routes django.contrib.auth.urls
  • afficher une bannière rouge

Type de changement

🎢 Nouvelle fonctionnalité (changement non cassant qui ajoute une fonctionnalité).
🚧 technique

Points d'attention

🦺 passage de la valeur de la variable DEBUG dans le context_processor

Captures d'écran (optionnel)

Banniere Debug Mode

image

Lien cliquable d'authentification en mode debug

image

lacommunaute/users/views.py Outdated Show resolved Hide resolved
lacommunaute/templates/layouts/base.html Outdated Show resolved Hide resolved
lacommunaute/users/views.py Outdated Show resolved Hide resolved
lacommunaute/utils/tests/tests_middleware.py Outdated Show resolved Hide resolved
@vincentporte vincentporte force-pushed the vp/login_in_debug_mode branch from 9e86ae5 to 7be6ee2 Compare November 20, 2024 15:35
@vincentporte vincentporte marked this pull request as ready for review November 20, 2024 15:36
@vincentporte vincentporte merged commit 0a70301 into master Nov 20, 2024
8 checks passed
@vincentporte vincentporte deleted the vp/login_in_debug_mode branch November 20, 2024 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Pull requests that update Python code technical debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants