-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5f4cce0
commit 6845171
Showing
4 changed files
with
23 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,7 @@ def createDummyUserRandom(login, password): | |
user = User.objects.create_user(random_login, random_login+'@gogogo.com', password) | ||
userinfo = UserInfo.newUserInfo(user) | ||
userinfo.realName = login+' Real' | ||
userinfo.date_last_updated = timezone.now() | ||
userinfo.save() | ||
return user | ||
|
||
|
@@ -22,6 +23,7 @@ def create_dummy_sponsor(): | |
user = User.objects.create_user('userone_%s'%randomnum, 'userone_%[email protected]'%randomnum, 'abcdef') | ||
userinfo = UserInfo.newUserInfo(user) | ||
userinfo.realName = 'User One' | ||
userinfo.date_last_updated = timezone.now() | ||
userinfo.save() | ||
return user | ||
|
||
|
@@ -30,6 +32,7 @@ def create_dummy_programmer(): | |
user = User.objects.create_user('usertwo_%s'%randomnum, 'usertwo_%[email protected]'%randomnum, 'abcdef') | ||
userinfo = UserInfo.newUserInfo(user) | ||
userinfo.realName = 'User Two' | ||
userinfo.date_last_updated = timezone.now() | ||
userinfo.save() | ||
return user | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters