Thanks Karen!
On Oct 7, 4:43 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 7, 2008 at 2:43 PM, Brandon Taylor <[EMAIL PROTECTED]>wrote:
>
>
>
>
>
> > Hi everyone,
>
> > On a recent project, I was tasked with adding a workflow around a
> > model, which required some customization in the admin. I found that
> > when I did and override of a view, I no longer had access to the "cl",
> > or ChangeList object containing all of the objects for the view.
>
> > Filters and other built-in functions in the admin templates depend on
> > this object, but I haven't been able to figure out how to return this
> > object in my own custom views.
>
> > Can anyone shed some light as to how to create and pass in the "cl"
> > object list for use within custom admin views?
>
> cl is set via a template tag. You may be interested in this ticket:
>
> http://code.djangoproject.com/ticket/6396
>
> which addresses the fact that the current behavior makes customization
> difficult.
>
> Karen
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---