Ooops ...
GeometryListView should check the public/private flag
This commit is contained in:
parent
f11690d987
commit
21aaad38cd
|
@ -17,7 +17,7 @@ class LastesGeometriesMixin(ContextMixin):
|
|||
return context
|
||||
|
||||
class GeometryListView(ListView, LastesGeometriesMixin):
|
||||
model = Geometry
|
||||
queryset = Geometry.objects.all().filter(public = True).order_by('date')
|
||||
paginate_by = 50
|
||||
paginate_orphans = 25
|
||||
page_kwarg = 'page'
|
||||
|
|
Loading…
Reference in New Issue