The Definitive Django Learning Platform.
This is a video membership website built with Django.
This project was bootstrapped with Cookiecutter Django
This project is part of a course on JustDjango. If you want to learn how to become a professional Django developer, consider signing up for access to our courses.
To have the project up and running, create a .env file in the root of this project and enter the environment variables according to the .template.env
file.
You will need to set this environment variable so that it reads the .env
file:
export DJANGO_READ_DOT_ENV_FILE=True
Running type checks with mypy:
mypy djvideomem
To run the tests, check your test coverage, and generate an HTML coverage report::
coverage run -m pytest
coverage html
open htmlcov/index.html
pytest
celery -A config.celery_app worker -l info
Make sure to have redis running with
redis-server