mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 05:51:11 -05:00
- Introduced a comprehensive Secret Management Guide detailing best practices, secret classification, development setup, production management, rotation procedures, and emergency protocols. - Implemented a client-side performance monitoring script to track various metrics including page load performance, paint metrics, layout shifts, and memory usage. - Enhanced search accessibility with keyboard navigation support for search results, ensuring compliance with WCAG standards and improving user experience.
26 lines
1.0 KiB
Python
26 lines
1.0 KiB
Python
"""
|
|
ThrillWiki Modular Settings Package
|
|
|
|
This package contains modular configuration files for the ThrillWiki project.
|
|
Each module focuses on a specific aspect of the application configuration.
|
|
|
|
Modules:
|
|
- database.py - Database connections and GeoDjango settings
|
|
- cache.py - Redis caching and session configuration
|
|
- security.py - Security headers, CSRF, and authentication
|
|
- email.py - Email backends and configuration
|
|
- logging.py - Logging formatters, handlers, and loggers
|
|
- rest_framework.py - DRF, JWT, CORS, and API documentation
|
|
- third_party.py - Allauth, Celery, Cloudflare, health checks
|
|
- storage.py - Static files, media, and WhiteNoise
|
|
|
|
Usage:
|
|
These modules are imported by the environment-specific settings files
|
|
in config/django/ (base.py, local.py, production.py, test.py).
|
|
|
|
Why python-decouple?
|
|
All modules use python-decouple for environment variable management
|
|
because it's already used in base.py, provides a simpler API than
|
|
django-environ, and is sufficient for our configuration needs.
|
|
"""
|