6 Commits

Author SHA1 Message Date
2c3f550978
Enhance Django settings security and configuration
- Add dynamic secret key generation with fallback
- Improve caching configuration with environment-based settings
- Update logging configuration with more granular log levels
- Strengthen security headers and SSL/HTTPS settings
- Add default values for security-related configurations
2025-02-14 00:09:43 +05:00
166a44bfc7
Update Django settings for allowed hosts configuration
- Add dynamic ALLOWED_HOSTS configuration using environment variables
- Simplify host configuration by splitting allowed hosts string
- Remove redundant ALLOWED_HOSTS setting in production block
2025-02-13 23:34:30 +05:00
fea31cd651
Refactor Docker and Django configuration
- Update Dockerfile to use Python 3.11-slim and optimize build steps
- Remove Dockerfile.prod and update docker-compose.yml
- Remove entrypoint.sh and twilio dependency
- Modify Django settings for production security and configuration
- Update user serializer to include group permissions
- Enhance CSRF and SSL configuration settings
2025-02-12 19:27:05 +05:00
eb600b7a0c
Update storage configuration and .gitignore
- Switch from AWS S3 to local file storage
- Add .env.example to .gitignore
- Remove AWS-related configuration in settings.py
2025-02-08 16:15:49 +05:00
f6f77bb0e5
Add wallet balance to User model and implement Atoll/Island management
- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
2025-01-20 20:59:16 +05:00
4d0eb86478 Initial commit 2025-01-20 14:33:03 +05:00