python - django-zinnia-blog: decorators to mixins -
with django-blog-zinnia have older code
from zinnia.views.decorators import update_queryset def qset(): return blogentry.objects.filter(status=2).filter(creation_date__gte=cutoff) view_blogs = update_queryset(object_list, qset) the problem update_queryset gives me
importerror @ / no module named decorators it has move class based views. how use mixin update?
Comments
Post a Comment