from django.db.models import Q

@login_required
def event_new(request, person_uuid=None):
    today = datetime.datetime.today()
profile = Profile.objects.filter(company=request.user.company).filter(Q(
    valid_until__gte=today) | Q(valid_until=None))
Get objects with date greater than today or empty date