Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
fix: use OpenEdXInstance model
Browse files Browse the repository at this point in the history
  • Loading branch information
gabor-boros committed Aug 30, 2021
1 parent c668293 commit 0676c8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion instance/migrations/0144_make_redis_username_unique.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@


def generate_credentials(apps, schema_editor):
RedisServer = apps.get_model('instance', 'RedisServer')
RedisServer = apps.get_model('instance', 'OpenEdXInstance')
for row in RedisServer.objects.all():
row.redis_username = instance.models.mixins.redis.random_username()
row.redis_password = instance.models.mixins.redis.random_password()
Expand Down

0 comments on commit 0676c8b

Please sign in to comment.