On 1/22/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> I'm trying to use class 'collapse' in 'fields' option, like this:
>     class META:
>         ordering = ['title']
>         admin = meta.Admin(
>             list_display = ('title',),
>             fields = (
>             (None,
>
> {'fields':('title','alternative_feed_url','feed_enable','ping_services')}),
>             ('Dublin Core',
>              {'classes':'collapse',
>
> 'fields':('dc_reator','dc_type','dc_format','dc_language')}),
>             ('Geo',
>              {'classes':'collapse',
>               'fields':('geo_latitude','geo_longtitude')}),
>             )
>             )
>
> When try to add record in Administration (just push button - Add,
> without displaying add form), got this error:

I'm not sure exactly what the error is, but I'd start debugging by
commenting out all but one field set and see if it works. I.e. Comment
out the tuples that start with 'Dublin Core' and 'Geo'. You may just
have one of the field names spelled incorrectly.

Joseph

Reply via email to