Lengow/orders/views.py

9 lines
168 B
Python

from django.views.generic import ListView
from orders.models import Order
class IndexView(ListView):
template_name = 'orders/order/index.html'
model = Order