Click to try(https://floza.herokuapp.com/)
- A web application for handling a pizza restaurant’s online orders.
- Users can browse the restaurant’s menu, add items to their cart, and submit their orders, and restaurant owners can add, update, and remove items on the menu.
Python, Django, HTML, CSS, JavaScript
-
Run app:
python3 manage.py runserver
-
Make changes of the app:
python manage.py makemigrations
python [manage.py](http://manage.py/) migrate
-
Admin user can open admin site here: (http://127.0.0.1:8000/admin)
-
OR Admin user can open manage shell for database management:
python manage.py shell
-
open table of the database
from orders.models import <table name>
-
fetch cartain rows from table
f = <table name>(<attribute>=<value>, <attribute>=<value>)
ORBasics.objects.filter(Size="small")
ORone = Basics.objects.get(id=3)
-
delete certain rows
one.delete()
-
save changes to the table
f.save()
-
fetch all rows of the table
Basics.objects.all()
-
-
Further optimize the layout and design.
-
Demo
-
Deploy