Files
project-managment/pyproject.toml
T
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

45 lines
998 B
TOML

[project]
name = "backend"
version = "0.1.0"
description = ""
readme = "README.md"
requires-python = ">=3.13"
license = { text = "MIT" }
dependencies = [
"django>=6.0.5",
"django-environ>=0.13.0",
"django-jazzmin==3.0.1",
"djangorestframework>=3.17.1",
"djangorestframework-simplejwt>=5.5.1",
"drf-spectacular>=0.29.0",
"django-cors-headers>=4.9.0",
"whitenoise>=6.12.0",
"psycopg[binary]",
"dj-database-url>=3.1.2",
"gunicorn>=26.0.0",
"django-tailwind-cli>=4.6.2",
"django-htmx>=1.27.0"
]
[tool.ruff]
line-length = 88
target-version = "py313"
[tool.ruff.lint]
select = [
"E", # pycodestyle errors
"W", # pycodestyle warnings
"F", # pyflakes
"I", # isort
"B", # flake8-bugbear
"C4", # flake8-comprehensions
"UP", # pyupgrade
]
ignore = [
"E501", # line too long, handled by formatter
"B008", # do not perform function calls in argument defaults
]
[tool.ruff.lint.isort]
known-first-party = ["core"]