ok, I'll do that. thanks

-E

On Jun 26, 5:13 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-06-25 at 16:10 +0000, abe wrote:
>
> > I'm using the newforms-admin branch, and have specified
> > some admin options for a Experiment model like this
>
> > class ExperimentalDataOptions(admin.ModelAdmin):
> >     list_display =
> > ('project_name','experiment_nr','experiment_date','short_title')
> >     search_fields =
> > ('experiment_nr','project_name','experiment_date','title')
> >     list_filter =   ('project_name',) #
> > 'experiment_date','project_name',)
>
> > if I leaveout the list_filter line it works ok.
> > with list_filter I get the following message
>
> > AttributeError at /yyy/admin/zb/experimentaldata/
> > type object 'ModelAdmin' has no attribute 'manager'
> > Request Method:    GET
> > Request URL:      https://xxx.xxx.xxx.xxx/yyy/admin/zb/experimentaldata/
> > Exception Type:    AttributeError
> > Exception Value:   type object 'ModelAdmin' has no attribute 'manager'
> > Exception Location:        /usr/lib/python2.3/site-packages/django/contrib/
> > admin/filterspecs.py in __init__, line 161
> > Python Executable:         /usr/bin/python
> > Python Version:    2.3.4
>
> > Any idea how to get this working?
>
> I can't immediately see what is wrong. You'll either have to dive into
> the code and work out what should be happening, or file a ticket in
> Trac. Bugs reported to this list are not too likely to be remembered by
> the newforms-admin developers when they next come to work on the code.
> It's just too high-volume here to be an effective bug reporting forum.
>
> If you do file a ticket, include the smallest example possible that
> fails. That might be a single field model with an admin class that only
> has list_filter or something. That will make it easier for somebody to
> repeat the problem.
>
> Regards,
> Malcolm


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to