This commit introduces modern front-end development tools to streamline styling and improve the development workflow.
* **New Features**
* **Tailwind CSS Integration**: Added `django-tailwind-cli` to enable efficient utility-first CSS development.
* **Enhancements & Refinements**
* **Browser Auto-Reload**: Incorporated `django-browser-reload` for automatic browser refreshing during local development, enhancing developer experience.
* **Dependency Management**
* Updated project dependencies in `pyproject.toml`, `requirements.txt`, and `uv.lock`.
* Added `django-tailwind-cli` (v4.4.2) and `django-browser-reload` (v1.21.0) to core dependencies.
* Removed `django-components` from `requirements.txt`.
50 lines
998 B
TOML
50 lines
998 B
TOML
[project]
|
|
name = "backend"
|
|
version = "0.1.0"
|
|
description = ""
|
|
readme = "README.md"
|
|
requires-python = ">=3.13"
|
|
license = { text = "MIT" }
|
|
dependencies = [
|
|
"django",
|
|
"django-environ",
|
|
"django-jazzmin",
|
|
"whitenoise",
|
|
"mysqlclient",
|
|
"psycopg2-binary",
|
|
"gunicorn",
|
|
"django-components>=0.143.2",
|
|
"django-htmx>=1.27.0",
|
|
"django-phonenumber-field[phonenumbers]>=8.4.0",
|
|
"babel>=2.17.0",
|
|
"django-tailwind-cli>=4.4.2",
|
|
"django-browser-reload>=1.21.0",
|
|
]
|
|
|
|
[tool.ruff]
|
|
line-length = 88
|
|
target-version = "py38"
|
|
|
|
[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 = ["."]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"ruff>=0.14.8",
|
|
]
|