Hi there.

The BlogPost admin itself takes the fieldsets from DisplayableAdmin and modifies it to insert some fields and some classes. The general steps are:

1. Deepcopy the fieldsets attribute you want to modify

2. Override the values / list items you want to change

3. Assign the modified fieldsets to your admin class

4. Unregister the original admin class, and register the new one with your customizations

You can use that as a guide to copy the BlogPostAdmin fieldsets and register you own admin class based on that. See: https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/blog/admin.py#L14-L25

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to