agree create 3

This commit is contained in:
H.T. Kruitbosch 2018-05-04 17:36:43 +02:00
parent fc7629edad
commit 99e2248626

View File

@ -29,7 +29,7 @@ def gdpr_ask_agreement(request):
for user in User.objects.filter(
is_active=True).all():
if PendingGDPRAgree(user=user).objects.filterexists() or GDPRAgreed.objects.filter(user=user).exists() \
if PendingGDPRAgree.objects.filter(user=user).exists() or GDPRAgreed.objects.filter(user=user).exists() \
or user.email is None or user.email == '':
continue
token = get_random_string(length=32)