Hi,
I want to provide an admin date_hierarchy filter for a model that
actually doesn't have a datetime field itself. The datetime value for
each object is stored in another model. It's possible to define a
date_hierarchy filter in this scenario?

I've tried to use date_hierarchy with a property that retrieves the
datetime value for each object, but django raise this exception:
ImproperlyConfigured 'ContactAdmin.date_hierarchy' refers to field
'subscribe' that is missing from model 'Contact'.

Any idea?
Thanks!!!



--
Marc

-- 
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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to