Add interests

This commit is contained in:
Rémi Oudin 2018-02-26 12:33:23 +01:00
parent 02e91bb2b7
commit 526aad1364

View file

@ -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