Local Library website written in Django; example for the MDN server-side development Django module: https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django.
CC0-1.0 License
Tutorial "Local Library" website written in Django.
For detailed information about this project see the associated MDN tutorial home page.
This web application creates an online catalog for a small local library, where users can browse available books and manage their accounts.
The main features that have currently been implemented are:
To get this project up and running locally on your computer:
Note: This has been tested against Django 3.10 (and may not work or be "optimal" for other versions).
py
or py -3
instead of python
to start Python):
pip3 install -r requirements.txt
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py collectstatic
python3 manage.py test # Run the standard tests. These should all pass.
python3 manage.py createsuperuser # Create a superuser
python3 manage.py runserver
http://127.0.0.1:8000/admin/
to open the admin sitehttp://127.0.0.1:8000
to see the main site, with your new objects.