[init] Initial commit

This commit is contained in:
ITQ
2024-03-31 21:02:53 +03:00
commit 04d4e83d1f
105 changed files with 8559 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
dump:
@cd project && python -Xutf8 manage.py dumpdata users --format json --indent 4 -o fixtures/users.json
load:
@cd project && python -Xutf8 manage.py loaddata fixtures/users.json
mig:
@cd project && python manage.py makemigrations
@cd project && python manage.py migrate
check: test
@ruff check
test:
@cd project && python manage.py test
run:
@cd project && python manage.py runserver
su:
@cd project && python manage.py createsuperuser
loc-m:
@cd project && django-admin makemessages -l ru -l en
loc-c:
@cd project && django-admin compilemessages
help:
@cd project && python manage.py help
fix:
ruff check --fix
sort-requirements requirements/prod.txt requirements/test.txt requirements/dev.txt
req:
@pip install -r requirements/dev.txt