Web Development with Django
Django projects and apps created while going through the book "Web Development with Django" from Packt Publishing (February 2021).
The code from Packt Publishing or the authors is also in GitHub.
Setting up Development Environment
The python version I used is 3.9.
python -m venv --prompt "WebDevWithDjango" .venv
source .venv/bin/activate
1pip install -r requirements.txt
To setup the Bookr project,
- Go to project directory,
cd bookr
- Run migrations,
python manage.py migrate
- Seed the database,
python manage.py loadcsv --csv reviews\management\commands\WebDevWithDjangoData.csv
- Run the server,
python manage.py runserver
- Create an admin,
python manage.py createsuperuser
- Setup regular user,
python manage.py changepassword marksandler@test.com