Commit Graph
9 Commits
Author SHA1 Message Date
sankalp 9af2a8820a feat(config/settings): externalize TIME_ZONE via env variable
Allow TIME_ZONE to be configured via environment variable while keeping default.
2026-06-28 15:25:39 +05:45
sankalp c29c2c4be8 feat(config): enable session save on every request
Ensures session data persists across requests by saving session at each request.
2026-06-28 15:03:20 +05:45
sankalp 89adfe89c5 feat(config): add email backend and update settings for production
Support email sending via SMTP, configure static/media handling, set correct timezone, enable Swagger UI, and add external access routes.
2026-06-28 14:15:22 +05:45
sankalp 71bfd63799 update 2026-06-28 12:36:16 +05:45
sankalp a5ca9a8cd6 feat(config): add Google OAuth client configuration and extend external URL routes
Add GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET, and GOOGLE_REDIRECT_URI env vars and configure external access endpoints for OAuth callback and logout.
2026-06-25 23:29:46 +05:45
sankalp 996777f937 initialize project 2026-06-25 22:58:45 +05:45
sankalp 000bd08445 refactor(config): delete config package
Remove the entire config package as part of project restructuring and migration to a new configuration system.
2026-06-25 14:39:49 +05:45
sankalp 06ea5d2945 feat(config): streamline configuration and remove dev‑only settingsAdd custom user model and improve static/media handling.
- New Features
  - Introduce `AUTH_USER_MODEL` for a custom user.
  - Add `STATICFILES_DIRS` to explicitly point to the static directory.
  - Simplify email backend configuration using environment variables.

- Enhancements
  - Remove djinit boilerplate and development‑only settings.
  - Drop `corsheaders` middleware and `rest_framework_simplejwt.token_blacklist`.
  - Update `TEMPLATES` to include project templates via `BASE_DIR / "templates"`.
  - Clean up URL patterns, removing deprecated JWT endpoint comments.
  - Reorganize security settings and static storage configuration.

- Bug Fixes
  - (none)
2026-05-27 23:33:10 +05:45
sankalp 7196c4a299 feat(config): add generatedconfiguration skeleton
New Features
- Add ASGI entry point (`asgi.py`) with environment‑based settings.
- Create base and production settings modules (`base.py`, `production.py`) for shared and production‑specific configurations.
- Generate root `urls.py` with DRF JWT endpoints and included app URLs.
- Provide `wsgi.py` configured for production settings.

Enhancements
- Include `django-jazzmin`, `drf-spectacular`, and `django-cors-headers` defaults.
- Set up `django-tailwind-cli` and `django-htmx` middleware configurations.

Bug Fixes
- (none)
2026-05-27 23:18:13 +05:45