In the filter, you are trying the filter User objects on timestamp field which does not exist.
In line 42 of admin.py, try filtering on "userprofile__timestamp__gte" -Sandeep On Thursday, June 28, 2012 1:20:03 PM UTC+5:30, yillkid wrote: > > Hi all ! > > I want filter a field of UserProfile (field name: timestamp), > > models.py: http://dpaste.com/764723/ > > admin.py: http://dpaste.com/764724/ > > But when I press the filter, browser show: http://dpaste.com/764725/ > > --- --- --- --- --- --- --- --- --- --- > > According the error message, I can get class "UserProfile", > but if I want to filter timestamp, how should I do ? > > thx :-) > -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/RqU1cpZr3CAJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

