Create user code has been completed, the user = user. The objects. The create_user (username = ‘356’ and password = ‘123456’), but an error in the back, then the created user has exists in the database mark>, when you change an error that part of the code to execute, complains, remind you that this user has been created in the database, so you can’t use the data to create.
where does the code execute to form something in the database
username must be unique
Read More:
- django.db.utils .IntegrityError: NOT NULL constraint failed: blog_ blog.author_ ID error resolution
- python sqlite Error IntegrityError: UNIQUE constraint failed: table_area1.user_name
- django.db.utils.OperationalError: no such table: django_admin_log
- Django. DB. Utils. Programmingerror: (1146, “table * doesn’t exist”) causes and Solutions
- IntegrityError at ** NOT NULL constraint failed: learning_logs_topic.owner_id
- [Oracle] when inserting data, “ora-00001: unique constraint” appears
- greendao insert data UNIQUE constraint failed: PURCHASE_ORDER_TABLE._id (code 1555)
- 【Linux】psql: FATAL: Ident authentication failed for user “username” Error and Solution
- How to solve the problem of error reporting in the introduction of Python Django no module name ‘Django. Utils. Six’
- django.core.exceptions . improveconfigured: error loading MySQL DB module. Django configuring MySQL database
- [resolved] superset failed to create admin user: error! User already exists user or attributeerror: ‘nonetype’‘
- Failed to add the foreign key constraint. Missing index for constraint ‘stu_ibfk_1’ in the reference
- 1822 – Failed to add the foreign key constraint. Missing index for constraint ‘tb_emp_ibfk_1’ in the
- Solve the problem of error loading MySQL DB module. Encountered during Django project
- ORA-12631 / TNS-12631: Username retrieval failed
- Add Samba user prompt failed to add entry for user
- remote: XXX Incorrect username or password (access token) fatal: Authentication failed for XXX
- Add samba user prompt Failed to add entry for user.
- Mongodb connection authentication auth failed solution
- “Failed to find entry for user…” appears when Linux uses samba