On 10/3/05, Emanuele <[EMAIL PROTECTED]> wrote:
> 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?
> [...]
> 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)?

Hey Emanuele,

Ah, looks like raw_id_admin doesn't support non-integer primary keys.
Rather than adding a separate raw_pk_admin option, we should just fix
raw_id_admin to support non-integer keys.

I've filed a ticket at http://code.djangoproject.com/ticket/586 .
Thanks for the heads-up!

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Reply via email to