Hi,
to avoid big drop-down lists in admin interface I'm using
"raw_id_admin=True" inside ForeignKey(), so I can enter
object IDs manually. But what happens if my related object has
a _non-numeric_ custom primary key?

In my case I've a string as a custom primary key and I'd like
to enter this string instead of a raw numeric ID (currently
not present). So if I specify "raw_id_admin=True" in my case
the admin interface becomes a bit inconsistent, avoiding me to
enter the primary key value because it's not numeric.

Is it possible to have a sort of "raw_pk_admin=True" option
to insert custom primary keys in admin interface (and not only
numeric stuff)?

Thanks in advance,

Emanuele

Reply via email to