Commit Graph
10 Commits
Author SHA1 Message Date
sankalp 04e0d032b7 Revert "fix(src): commit migration files to prevent InconsistentMigrationHistory"
This reverts commit 9f0f771213.
2026-06-28 18:23:52 +05:45
sankalp 9f0f771213 fix(src): commit migration files to prevent InconsistentMigrationHistory
Remove src/*/migrations/ from .gitignore and commit all generated
migration files. The admin.0001_initial migration uses
swappable_dependency(AUTH_USER_MODEL) which requires accounts.0001_initial
to exist before admin migrations can be applied. Without committed migration
files, running migrate before makemigrations causes admin to apply first
(since accounts appears to have no migrations), leading to an
InconsistentMigrationHistory error when makemigrations is run later.

This follows Django's recommended workflow of committing migrations.
2026-06-28 18:20:46 +05:45
sankalp 4635129b21 Ignore app migration dirs 2026-06-28 16:09:25 +05:45
sankalp ec9012efcb feat(deps): upgrade Django to 5.0
Fix compatibility with new middleware and remove deprecated imports.
2026-06-28 15:00:47 +05:45
sankalp ed1d6c66c8 update 2026-06-28 12:36:40 +05:45
sankalp 71bfd63799 update 2026-06-28 12:36:16 +05:45
sankalp 9d11d397cb update 2026-06-25 23:29:34 +05:45
sankalp 996777f937 initialize project 2026-06-25 22:58:45 +05:45
sankalp 0357d78939 chore(root): remove DRF stack and update configuration
This change removes unused DRF-related dependencies, updates .env.sample and .gitignore to reflect new configuration, and adds a comprehensive project architecture plan (PLAN.md). It simplifies the stack and prepares the codebase for a modular, permission‑driven design.

New Features
- Added detailed PLAN.md outlining project structure, apps, permissions, and tech stack.
Enhancements
- Cleaned up .env.sample by removing obsolete environment variables.
- Updated .gitignore to exclude generated directories and track migrations properly.
Bug Fixes
- No bug fixes included in this commit.
2026-05-27 23:33:00 +05:45
sankalp 1095c6b6a7 feat(root): scaffold Django project with djinit
Add initial project skeleton using djinit to enable rapid development, CI integration, and deployment setup.

New Features
- Create .djinit with unified project structure and Tailwind/HTMX enabled.
- Add .env.sample with default Django, database, and frontend URLs.
- Generate comprehensive .gitignore covering Python, Django, OS, and secret files.
- Provide Procfile for Gunicorn web process and release migrations.
- Scaffold README.md with project overview and features.
- Add manage.py enhanced with environ for .env support.
- Initialize pyproject.toml with modern metadata and ruff linting config.
- Add requirements.txt mirroring dependencies.
- Include runtime.txt pinning Python 3.13.
- Update uv.lock to lock dependency versions.

Enhancements
- Upgrade to latest Django 6.0.5 and DRF ecosystem.
- Configure ruff with line-length 88 and isort settings.
- Use gunicorn with optimal worker configuration.
- Include dj-database-url and psycopg binary for robust PostgreSQL connectivity.

Bug Fixes
- None.
2026-05-27 23:15:10 +05:45