Re: Changing raw_id_field from 'id'

2009-04-16 Thread Christopher Dodd
I do something similar in http://groups.google.com/group/django-users/browse_thread/thread/14e580f3dd32e87d# Do you want a comma delimited list of barcodes? Assuming the barcode value is another field, you may be able to reuse some of my code but override the RawIdField instead of Field. On Ap

Changing raw_id_field from 'id'

2009-04-15 Thread Alfonso
Is there an easy way to change the raw_id_field in a foreign key relationship? I'd like to change an inline formset to display not the item pk id alongside the raw_id_field 'magnifying glass' but a barcode field instead. Thanks --~--~-~--~~~---~--~~ You received