[chore] Global project refactoring

This commit is contained in:
ITQ committed 2024-04-01 11:20:07 +03:00
1 parent 0a8b3773f5
commit 5c64e1f3b9
49 files changed
+731 -496

No files matched your search

+4 -8
View File
@@ -1,15 +1,15 @@
dump:
@cd project && python -Xutf8 manage.py dumpdata users --format json --indent 4 -o fixtures/users.json
@cd project && python -Xutf8 manage.py dumpdata --format json --indent 4 -o fixtures/data.json
load:
@cd project && python -Xutf8 manage.py loaddata fixtures/users.json
@cd project && python -Xutf8 manage.py loaddata fixtures/data.json
mig:
@cd project && python manage.py makemigrations
@cd project && python manage.py migrate
check: test
@ruff check
@ruff check --fix
test:
@cd project && python manage.py test
@@ -29,9 +29,5 @@ loc-c:
help:
@cd project && python manage.py help
fix:
ruff check --fix
sort:
sort-requirements requirements/prod.txt requirements/test.txt requirements/dev.txt
req:
@pip install -r requirements/dev.txt