Edit/show Primary Key in Django Admin
Posted
by emcee
on Stack Overflow
See other posts from Stack Overflow
or by emcee
Published on 2010-03-28T03:10:17Z
Indexed on
2010/03/28
3:13 UTC
Read the original article
Hit count: 473
It appears Django hides fields that are flagged Primary Key from being displayed/edited in the Django admin interface.
Let's say I'd like to input data in which I may or may not want to specify a primary key. How would I go about displaying primary keys in Django-admin, and how could I make specifying it optional?
Many thanks in advance, beloved hive-mind.
© Stack Overflow or respective owner