简体   繁体   中英

django.db.utils.IntegrityError: NOT NULL constraint failed: app_users.key_value_id

Code has been removed, due to some protocol and i was also unable to delete this

you can set null=True and blank=True in the model field which is causing you an error or you can delete the app and create it again with the same code this trick can also work.

But if you do not find solution then you can find several solutions here.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM