Browse files

adds account password via setup script

  • Loading branch information...
1 parent a80ea54 commit fe3c70b818fbf8204ca6e2135995742341c708e9 @colegleason colegleason committed Feb 23, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 setup.py
View
2 setup.py
@@ -66,6 +66,7 @@
netid = raw_input('netid? ')
uin = raw_input('uin? ')
+acct_pass = getpass.getpass("account password? ")
# setup mailing lists
from utils.django_mailman.models import List
@@ -77,6 +78,7 @@
j_list.save()
m = Member(username=netid,uin=uin)
+m.set_password(acct_pass)
m.save()
g = Group(name='Top4',type='O',date_formed=datetime.now(), mailing_list=t_list)

0 comments on commit fe3c70b

Please sign in to comment.