Following a Django MDN tutorial to learn more about DJango.
The purpose of this project is for learning:
- Learning Django in general
- python
- Using virtual environments
- Creating a web application with Django
- python3
- pip3
- virtualenvwrapper
- Enter virtual evironment:
workon <virtual_environment_name>
- Start the server:
python3 manage.py runserver
Use script add_data.py and run it as follows:
python add_data.py
And to add book instances:
python add_book_instances.py
Borrow some books, which will be assigned to two users, so the username has to be in the db.
python loan_books_script.py
The tutorial