postgresql和django - 此行没有唯一标识符 [英] postgresql and django - No unique identifier for this row

查看:177
本文介绍了postgresql和django - 此行没有唯一标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我去查询创建报告时,我的Django postgresql数据库上的两个条目导致了一个麻烦的世界。当我尝试删除这些条目(通过phpPgAdmin),我得到错误没有唯一标识符这一行。没有重复的ID。我已经尝试更新所有字段。我试图摆脱这些使用删除按钮和手动SQL命令。我的想法。任何人都知道热给一个唯一的标识符,所以我可以摆脱它?

Two entries on my Django postgresql database are causing me a world of trouble when I go a-querying to create reports. When I try to delete these entries (via phpPgAdmin), I get the error "No unique identifier for this row." There are no duplicate IDs. I've tried updating all the fields. I've tried getting rid of these using the delete button and manual SQL commands. I'm out of ideas. Anyone know hot to give a row a unique identifier so I can get rid of it?

谢谢!

推荐答案

查看此帖的答案: PHPpgAdmin :如何删除不使用SQL的行

这篇关于postgresql和django - 此行没有唯一标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆