Skip to content
Snippets Groups Projects
Commit 8f7a4591 authored by Ben Adida's avatar Ben Adida
Browse files

added utility file to help with users who have lost their credentials

parent db856238
Branches
Tags
No related merge requests found
#
# extract voter_id and passwords for a particular email address
# may return many rows, if they all have the same email address
#
# python extract-passwords-for-email.py <email_address>
#
from django.core.management import setup_environ
import settings, sys
setup_environ(settings)
email = sys.argv[1]
from helios.models import *
print email
print str(Election.objects.count())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment