this doesn´t work:
class Admin:
ordering = ['-id']
list_display = ('id', 'title', 'category', 'status', 'user',
'date',)
list_filter = ['createdate','updatedate','status','category']
fields = (
(None, {
'fields': ('title', 'date', 'category', 'status')
}),
('Advanced options', {
'classes': 'collapse',
'fields' : ('status', 'sticky', 'allowcomments')
}),
('Entry', {
'fields' : ('image', 'summary', 'body')
}),
),
i´m getting an attribute error:
tuple object has no attribute get
any help?
thanks,
patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---