a guest Dec 9th, 2019 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- class DailyPresenceAdmin(admin.ModelAdmin):
- def get_queryset(self, request):
- return User.objects.filter(mydailytask__task_date=timezone.today(), mydailytask__isnull=True)
RAW Paste Data