Hi everyone,
I've been working on a problem where I'd like the admin to be able to
filter for rows based on certain conditions for the list display, i.e.
basically anything that can be used as keyword arguments in
.objects.filter(**kwargs) should be allowed as a filter for
the list display.
Curr
On Dec 26, 2007 6:10 AM, Mingers <[EMAIL PROTECTED]> wrote:
> Turns out, this is already partially implemented (by accident?). From
> the admin, you can already filter rows for the list display by passing
> GET arguments, ie. /admin///?
> __gt=10&__lt=20
>
> Well, I'm a django newbie, so you all
Mingers,
I have pretty much the same use case as you: I wanted the filtering in
the admin to be more "like a spreadsheet".
See the screenshot on my website to see how I solved the issue:
http://www.frepple.com/screenshots/miniadmin.png
It allows the user to enter the filter value, select a fil
We're using this 'hidden' feature as well, for similar reasons.
I built a search form that allows the user to select multiple parameters
to filter by. I just named the form fields using the appropriate lookup
form of the field names (for example, a form TextField named
user__first_name, etc.). H
Well always good to hear confirmation that my use case isn't crazy.
Johan, that looks great. It's what I would want to be able to do in
the admin. I'd say I'm a big fan of spreadsheet like views as well.
I've used FoxPro, and though it ain't a pretty language, it's database
viewer is great--wri
On Dec 26 2007, 2:50 pm, jdetaeye <[EMAIL PROTECTED]> wrote:
> The implementation is not based on customizing the admin, but
> implementing a generic view with very similar capabilities as the
> django changelist view. In all, around 800 lines of code.
Johan, that screenie looks very nice. Any ch
On Jan 7, 4:55 pm, Nathaniel Whiteinge <[EMAIL PROTECTED]> wrote:
> On Dec 26 2007, 2:50 pm, jdetaeye <[EMAIL PROTECTED]> wrote:
>
> > The implementation is not based on customizing the admin, but
> > implementing a generic view with very similar capabilities as the
> > django changelist view. I
+1 interested party ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to