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?

thanks, Eiso


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