Revisions and clean up based on PR comments

This commit is contained in:
Rachid Mrad 2023-12-13 15:13:04 -05:00
parent ed5d4fc4c3
commit 4adeb6722b
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
3 changed files with 12 additions and 23 deletions

View file

@ -162,7 +162,7 @@ class AuditedAdminMockData:
user = User.objects.get_or_create(
first_name="{} first_name:{}".format(item_name, short_hand),
last_name="{} last_name:{}".format(item_name, short_hand),
username="{} username:{}".format(item_name, str(uuid.uuid4())[:8]),
username="{} username:{}".format(item_name + str(uuid.uuid4())[:8], short_hand),
)[0]
return user