mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-20 07:43:35 -05:00
Fixed swapped transaction/rebuild statements
This commit is contained in:
@@ -114,8 +114,8 @@ class Rollback(Exception):
|
||||
|
||||
try:
|
||||
|
||||
with batch_role_ancestor_rebuilding():
|
||||
with transaction.atomic():
|
||||
with transaction.atomic():
|
||||
with batch_role_ancestor_rebuilding():
|
||||
admin, _ = User.objects.get_or_create(username = 'admin', is_superuser=True)
|
||||
org_admin, _ = User.objects.get_or_create(username = 'org_admin')
|
||||
org_member, _ = User.objects.get_or_create(username = 'org_member')
|
||||
|
||||
Reference in New Issue
Block a user