sorry to interrupt with no solution, but I have a similar problem:
I wnat to allow choosing mutiple choises : year = 2003 OR year = 2007
or, year = 2003 AND year = 2007.
(something like checkbox)
I guess one can implement the filter from scratch, but I think there
is might be a way to add this functionality to the implemented
list_filter...
 any suggestion will be appreciated!
thanks
tom

On 4 מאי, 00:23, Thales <thales....@gmail.com> wrote:
> Good evening,
>
> I am trying to create a custom filter in my admin. It should be in the
> general page Modify.
>
> If a put in the filter_list the content 'project__year', it shows me
> the years avaiable on the right menu and filters well.
>
> But I want to define the default value (the default year selected) and
> the avaiable options (maybe I dont want to show all the years there).
>
> I am sorry it sounds very easy, but I couldn't find inside the
> documentation how can I do it.
>
> Thanks
> Thales
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to 
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group 
> athttp://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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