Changed the use of the sn field with pk.

This commit is contained in:
2020-07-23 23:20:10 +08:00
parent 1dcbd37fbd
commit aefb5cc091
3 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ class Command(BaseCommand):
if input().lower() not in ("y", "yes"):
return
user = User(sn=923153018, login_id="imacat",
user = User(pk=923153018, login_id="imacat",
password="5486b64881adaf7bc1485cc26e57e51e", name="依瑪貓",
is_disabled=False, is_deleted=False)
user.created_by = user