diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/daily/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/daily/admin.py b/app/daily/admin.py index 578aaa3..9d1e20e 100644 --- a/app/daily/admin.py +++ b/app/daily/admin.py @@ -39,7 +39,7 @@ class DailyAdmin(OSMGeoAdmin): form.current_user = request.user return form - def queryset(self, request): + def get_queryset(self, request): qs = super(DailyAdmin, self).queryset(request) if request.user.is_superuser: return qs |