even more changes for olimpiada (generate keys)
authorJan Szejko <janek37@gmail.com>
Thu, 10 Nov 2016 16:23:53 +0000 (17:23 +0100)
committerJan Szejko <janek37@gmail.com>
Thu, 10 Nov 2016 16:23:53 +0000 (17:23 +0100)
wtem/management/commands/wtem_generate_keys.py

index f49c8b7..0e51e01 100644 (file)
@@ -11,7 +11,7 @@ class Command(BaseCommand):
         new = 0
         skipped = 0
 
         new = 0
         skipped = 0
 
-        query = Contact.objects.filter(form_tag='wtem').order_by('-created_at')
+        query = Contact.objects.filter(form_tag='olimpiada').order_by('-created_at')
         if ids:
             query = query.filter(pk__in=ids)
 
         if ids:
             query = query.filter(pk__in=ids)