Friday, June 22, 2012

Re: custom db field as filter in admin

On 22-6-2012 12:09, Bram de Jong wrote:

> However, when I turn this field into a filter in the admin, instead of
> seeing the filter-versions as my string (i.e. "1.0.5rc3") I see it as
> the underlying database type (i.e.10000301)

I suspected there is another code path that doesn't call to_python
properly, but let's rule out it's not the same as my issue:
Is this field a foreign key for the model that's being displayed?
--
Melvyn Sopacua


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate