Django Easystart
Contents:
Django Easystart - The Modern Monolith
Building SPA-like Apps with Django and Inertia.js
Django Easystart’s code structure
Project Scaffolding
Quickstart
Tech Stack
Features
Unit testing
Code Quality
Celery
Internationalization and localization
Roles and Permissions
Production-ready Docker environment
Heroku deployment
Using Github Actions
Backend Modules
Accounts
Audit
Core
Management
Two Factor Auth
Settings variables
Models
Views
Serializers
Middleware
System
The Frontend
CSS
Integrations
Transactional Emails
Roadmap
Django Easystart
Backend Modules
Two Factor Auth
View page source
Two Factor Auth
This module contain all relevant to two factor authentication, like otp process.
Settings variables
ENABLE_2FA (=True)
DEFAULT_2FA_METHOD (=”otp”)
OTP_APP_DISPLAY_NAME (=”otc”)
OTP_SECRET_KEY (=String)
Models
Otp
Views
settings
setup_otp
remove_otp
auth_otp
auth_otp_recovery_words
validate_otp
Serializers
OtpSettingsSchema
OtpCodeValidateSchema
wordsValidateSchema
Middleware
TwoFactorAuthPropsMiddleware
TwoFactorAuthMiddleware