gwift_old/gwift/wish/views.py

11 lines
216 B
Python
Raw Normal View History

2015-12-21 21:44:29 +01:00
# wish/views.py
2015-10-01 21:16:37 +02:00
2015-12-21 21:44:29 +01:00
from django.views.generic import ListView
from .models import Wishlist
class WishListList(ListView):
context_object_name = 'wishlists'
model = Wishlist
template_name = 'wish/list.html'