diff options
-rw-r--r-- | program/admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/admin.py b/program/admin.py index ad9d725..9c744e3 100644 --- a/program/admin.py +++ b/program/admin.py @@ -34,7 +34,7 @@ class NoteAdmin(admin.ModelAdmin): if db_field.name == 'timeslot': one_year_ago = datetime.today() - timedelta(days=365) shows = request.user.shows.all() - kwargs['queryset'] = TimeSlot.objects.filter(show__in=shows, start__gt=one_year_ago, note__isnull=True) + kwargs['queryset'] = TimeSlot.objects.filter(show__in=shows, start__gt=one_year_ago) return super(NoteAdmin, self).formfield_for_foreignkey(db_field, request, **kwargs) |