diff --git a/.clinerules b/.clinerules index a40799dc..50331b6e 100644 --- a/.clinerules +++ b/.clinerules @@ -14,4 +14,17 @@ IMPORTANT: When a Python package is needed, only use UV to add it: ```bash uv add ``` -Do not attempt to install packages using any other method. \ No newline at end of file +Do not attempt to install packages using any other method. + +## Django Management Commands +IMPORTANT: When running any Django manage.py commands (migrations, shell, etc.), always use UV: +```bash +uv run manage.py +``` +This applies to all management commands including but not limited to: +- Making migrations: `uv run manage.py makemigrations` +- Applying migrations: `uv run manage.py migrate` +- Creating superuser: `uv run manage.py createsuperuser` +- Starting shell: `uv run manage.py shell` + +NEVER use `python manage.py` or `uv run python manage.py`. Always use `uv run manage.py` directly. \ No newline at end of file