Now, create the logic to fetch dishes from the database and display them. in menu/views.py :
from django.contrib import admin from .models import Dish admin.site.register(Dish) Use code with caution. Copied to clipboard to log in: python manage.py createsuperuser Use code with caution. Copied to clipboard Follow the prompts to set your username and password. 🌐 Step 4: Create Views and URLs Build A Restaurant Site With Python and Djangorar
Navigate to menu/models.py to define how your restaurant dishes are stored. Now, create the logic to fetch dishes from