Add another

This commit is contained in:
ack
2026-01-21 01:46:12 +03:00
parent 7088d1e498
commit daf734cafb
32 changed files with 300 additions and 0 deletions

6
products/views.py Normal file
View File

@@ -0,0 +1,6 @@
from django.shortcuts import render
from .models import Product
def product_list(request):
items = Product.objects.all()
return render(request, 'products/list.html', {'products': items})