Commit Graph
8 Commits
Author SHA1 Message Date
sankalp 6fd72b74f4 feat(settings): add HTMX middleware and enhance security headers
- **New Features**
  - Added `django_htmx.middleware.HtmxMiddleware` to the `MIDDLEWARE` list to enable HTMX support

- **Enhancements & Refinements**
  - Updated security headers configuration in `base.py` to improve XSS and content type protections
  - Reorganized middleware order for optimal request processing
2025-12-14 08:17:52 +05:45
sankalp 8728ddeafc feat(settings): Integrate Tailwind CSS CLI and browser live reload
This commit introduces `django-tailwind-cli` for simplified Tailwind CSS integration and `django-browser-reload` for automatic development server reloading. It also refines static and template file configurations.

*   **New Features**
    *   Integrated `django-tailwind-cli` into `THIRD_PARTY_APPS` for managing Tailwind CSS builds.
    *   Enabled DaisyUI with Tailwind CSS by setting `TAILWIND_CLI_USE_DAISY_UI = True`.
    *   Added `django-browser-reload` to `THIRD_PARTY_APPS` and `MIDDLEWARE` for live development reloading.
*   **Enhancements & Refinements**
    *   Configured Django `TEMPLATES` to explicitly search for templates in `BASE_DIR / "templates"`.
    *   Defined `STATICFILES_DIRS` to include `BASE_DIR / "static"` and adjusted `STATIC_URL` to `/static/`.
    *   Removed `django_components` from `THIRD_PARTY_APPS`.
2025-12-14 05:25:31 +05:45
sankalp 466d4b868a feat(notification): added notification model and admin 2025-12-11 21:02:16 +05:45
sankalp adfd2bf63f refactor(db): replace nepali_datetime_field with phonenumber_field in THIRD_PARTY_APPS 2025-12-09 16:04:02 +05:45
sankalp 9da7e0c22d chore(deps): update pyproject.toml and requirements.txt; remove unnecessary dependencies 2025-12-09 14:51:52 +05:45
sankalp 4afe6eaa3a - update pyproject.toml and models/clients.py 2025-12-09 14:28:35 +05:45
sankalp 8b50ff5412 This commit refactors the models in the 'models' app, specifically 'clients' and 'services' modules. It includes the PhoneNumberField in the Client model and adds a new Credential model to the services module. The Service model has been modified to include new fields and relationships. 2025-12-09 13:35:09 +05:45
sankalp e78841631c This commit refactors the project structure by moving the models and API to separate directories. It also updates the settings, Procfile, manage.py, and README files accordingly. The purpose of this change is to improve the organization and maintainability of the project. 2025-12-09 10:43:31 +05:45