Add interests
This commit is contained in:
parent
02e91bb2b7
commit
526aad1364
1 changed files with 2 additions and 0 deletions
|
@ -260,4 +260,6 @@ def create_profile(nick=None):
|
|||
|
||||
profile.full_clean()
|
||||
profile.save()
|
||||
profile.interests.add(random.choice(Interest.objects.all()))
|
||||
profile.save()
|
||||
return profile
|
||||
|
|
Loading…
Reference in a new issue