- git clone https://github.com/vl-tk/django_test_project.git
- cd django_test_project
- python -m venv env
- source env/bin/activate
- pip install -r requirements.txt
python manage.py generate_codes --amount=5 --group='avtostop'
python manage.py check_code MY_CODE
Result will be in the django_test_project/codes_generator/results/codes.json
Optional --filename argument is supported for both commands. Default value is 'codes.json'
python manage.py test