АА
Size: a a a
DT
DT
DT
ДМ
# @method_decorator(login_required, name='get')
class ProductListView(ListView):
queryset = Product.objects.all().order_by('date_added')
template_name = 'products/boot-index.html'
# @login_required(login_url='login')
# def get(self, request, *args, **kwargs):
# products = Product.objects.all().order_by('date_added')
# return render(request, 'products/boot-index.html', context={'products': products})
АА
RK
ST
Д
DT
ST
RK
GS
Д
GS
Д
GS