Closed Ramin-RX7 closed 1 year ago
prerequisite: #10
Implement all models defined in the ERD in models.py of each app based on the table. (
Food
Category
foods
Order
OrderItem
orders
All relations must be implemented. Also define the __str__ method for all models. (You should NOT execute any migration commands yet)
__str__
Completed in #16
prerequisite: #10
Implement all models defined in the ERD in models.py of each app based on the table. (
Food
andCategory
in thefoods
appOrder
andOrderItem
in theorders
app )All relations must be implemented. Also define the
__str__
method for all models. (You should NOT execute any migration commands yet)