discard dead command

pull/1/head
eric 2016-04-28 15:28:09 -04:00
parent 029991a249
commit a81b40ba70
3 changed files with 0 additions and 16 deletions

View File

@ -1,16 +0,0 @@
import string
from django.core.management.base import BaseCommand
from regluit.questionnaire.models import Landing
class Command(BaseCommand):
help = "make survey nonces with the specified label"
args = "<how_many> <label>"
def handle(self, how_many=1, label="no label yet", **options):
how_many=int(how_many)
while how_many>0:
landing = Landing.objects.create(label=label)
print landing.nonce
how_many -= 1