mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-18 12:19:29 +00:00
Fixes for the Group application
This commit is contained in:
@@ -10,7 +10,7 @@ class Migration(DataMigration):
|
||||
for group in orm['auth.Group'].objects.all():
|
||||
try:
|
||||
obj = orm.GroupInformation.objects.get(group=group)
|
||||
except orm['auth.Group'].DoesNotExist:
|
||||
except orm.GroupInformation.DoesNotExist:
|
||||
obj = orm.GroupInformation(group=group)
|
||||
obj.save()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user