-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Description
EXPLORATORY TICKET - Research making django-allauth email verification settings dynamic through admin interface.
Current State
Email verification settings are hardcoded in settings.py:
ACCOUNT_EMAIL_VERIFICATION = "mandatory"(or similar)ACCOUNT_EMAIL_VERIFICATION_BY_CODE_ENABLED = False
Research Goals
- Investigate if allauth adapters can read from database configuration
- Test performance impact of dynamic config lookups
- Assess complexity vs benefit ratio
- Document any limitations or edge cases
Potential Implementation
Add fields to SiteConfiguration:
email_verification_required- Boolean for mandatory verificationemail_verification_by_code- Toggle code vs link verification
Questions to Answer
- Can adapter methods safely override these settings?
- What's the performance impact on every request?
- Are there caching strategies that make this viable?
- Do settings changes require server restarts?
Decision Criteria
- Low complexity implementation path exists
- Performance impact is negligible
- Clear benefit to admin users
Labels: research, django-allauth, complexity-warning
Priority: Low (Research only)
Metadata
Metadata
Assignees
Labels
No labels