make docs clearer

This commit is contained in:
Matthias 2022-02-28 20:33:10 +01:00
parent 23531e0a5d
commit d6a42d64d8
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -148,7 +148,7 @@ class InvenTreeConfig(AppConfig):
def add_user_on_startup(self):
"""Add a user on startup"""
# stop if already created
# stop if checks were already created
if hasattr(settings, 'USER_ADDED') and settings.USER_ADDED:
return
@ -193,5 +193,5 @@ class InvenTreeConfig(AppConfig):
if settings.TESTING:
raise _e
# do not try again this round
# do not try again
settings.USER_ADDED = True