Commit 05cd9f17d5fb64f836cf5d38de9455b943276213

Authored by janek37
1 parent 0782fb43

ustawianie testowych haseł - poprawka

accounts/management/commands/dummy_passwords.py
... ... @@ -13,4 +13,5 @@ class Command(BaseCommand):
13 13  
14 14 def dummy_passwords():
15 15 for user in User.objects.all():
16   - user.set_password(user.username)
17 16 \ No newline at end of file
  17 + user.set_password(user.username)
  18 + user.save()
18 19 \ No newline at end of file
... ...