GodMode icon indicating copy to clipboard operation
GodMode copied to clipboard

Configurable id_field

Open ReDetection opened this issue 11 years ago • 2 comments

I got an error with my iOS CoreData sqlite database since it has no id field (OperationalError) no such column: id

for now I workaround by setting this field (and order_by) in admin/models/sql.py

ReDetection avatar Jul 07 '14 02:07 ReDetection

also it would be great to have different id_field for each database

ReDetection avatar Jul 07 '14 02:07 ReDetection

also line 93 in sql.py does not seems to respect id_field property. got a flask error here

ReDetection avatar Jul 07 '14 02:07 ReDetection