This django built web app utilizes multiple Django Models to allow data to persist using Python objects (models). The models define the structure of stored dta, including the field types, max size, default values, etc. The app includes full CRUD functionality that allows Creating, Reading, Updating and Deleting snacks.
- chatGPT
- Django Forms
- Django Templates
- Django Views
pip install -r requirements.txt
- N/A
- Clone repo
- Create and activate virtual environment
- Install dependencies (see above)
- See the page in browser by running
python manage.py runserver - Open the page via the local server address specified in the terminal
- In separate terminal, create superuser with command
python manage.py createsuperuser - Visit the
/adminpath and login with the superuser username and password you created
Read: Visit the home directory (snack list) view the full list of snackshttp://127.0.0.1:8000/Create: Click onCreate New Snackbutton and complete the form, then clickSaveUpdateandDelete: Return to home (snack list), then click on a snack you want to delete or update- Click update or delete
- Confirm your choice (click save to update or OK to delete, depending on the selection)
- N/A
python manage.py test