mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-22 02:31:13 -05:00
Add email templates for user notifications and account management
- Created a base email template (base.html) for consistent styling across all emails. - Added moderation approval email template (moderation_approved.html) to notify users of approved submissions. - Added moderation rejection email template (moderation_rejected.html) to inform users of required changes for their submissions. - Created password reset email template (password_reset.html) for users requesting to reset their passwords. - Developed a welcome email template (welcome.html) to greet new users and provide account details and tips for using ThrillWiki.
This commit is contained in:
@@ -19,14 +19,26 @@ ALLOWED_HOSTS = env.list('ALLOWED_HOSTS', default=['localhost', '127.0.0.1'])
|
||||
# 'silk.middleware.SilkyMiddleware',
|
||||
# ]
|
||||
|
||||
# Database - Use SQLite for quick local development if PostgreSQL not available
|
||||
# Database - Use regular SQLite for local development
|
||||
# PostGIS fields will work but without spatial query capabilities
|
||||
# Full GIS features available in production with PostGIS
|
||||
DATABASES = {
|
||||
'default': env.db(
|
||||
'DATABASE_URL',
|
||||
default='sqlite:///db.sqlite3'
|
||||
)
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.sqlite3',
|
||||
'NAME': BASE_DIR / 'db.sqlite3',
|
||||
}
|
||||
}
|
||||
|
||||
# Note: For full GIS capabilities in local dev, you would need:
|
||||
# - SQLite compiled with extension support (pysqlite)
|
||||
# - SpatiaLite extension installed
|
||||
# For now, using regular SQLite is simpler for development
|
||||
|
||||
# GDAL library paths - Required even with regular SQLite when using GIS models
|
||||
# For Homebrew on macOS (Apple Silicon)
|
||||
GDAL_LIBRARY_PATH = env('GDAL_LIBRARY_PATH', default='/opt/homebrew/opt/gdal/lib/libgdal.dylib')
|
||||
GEOS_LIBRARY_PATH = env('GEOS_LIBRARY_PATH', default='/opt/homebrew/opt/geos/lib/libgeos_c.dylib')
|
||||
|
||||
# Disable caching in development
|
||||
CACHEOPS_ENABLED = False
|
||||
|
||||
|
||||
Reference in New Issue
Block a user