Admin of Zinnia
CategoryAdmin for Zinnia
Bases: django.contrib.admin.options.ModelAdmin
Admin for Category model
alias of CategoryAdminForm
Return the category’s tree path in HTML
EntryAdmin for Zinnia
Bases: django.contrib.admin.options.ModelAdmin
Admin for Entry model
Close the comments for selected entries
Close the pingbacks for selected entries
Admin view to preview Entry.content in HTML, useful when using markups to write entries
alias of EntryAdminForm
Filters the disposable authors
Define user actions by permissions
Return the authors in HTML
Return the categories linked in HTML
Admin wrapper for entry.comments_are_open
Admin wrapper for entry.is_actual
Admin wrapper for entry.is_visible
Return a formated link to the entry
Return the short url in HTML
Return the sites linked in HTML
Return the tags linked in HTML
Return the title with word count and number of comments
Set entries selected as hidden
Set the entries to the user
Set entries selected as published
Post an update on Twitter
Ping Directories for selected entries
Put the selected entries on top at the current date
Make special filtering by user permissions
Save the authors, update time, make an excerpt
Forms for Zinnia admin
Bases: django.forms.models.ModelForm
Form for Category’s Admin
Check if category parent is not selfish
Bases: django.forms.models.ModelForm
Form for Entry’s Admin
Widgets for Zinnia admin
Bases: django.contrib.admin.widgets.FilteredSelectMultiple
MPTT version of FilteredSelectMultiple
MPTTFilteredSelectMultiple’s Media
This is copy’n’pasted from django.forms.widgets Select(Widget) change to the for loop and render_option so they will unpack and use our extra tuple of mptt sort fields (if you pass in some default choices for this field, make sure they have the extra tuple too!)
Bases: django.forms.models.ModelChoiceIterator
MPTT version of ModelChoiceIterator
Overriding choice method
Bases: django.forms.models.ModelMultipleChoiceField
MPTT version of ModelMultipleChoiceField
Overriding _get_choices
Creates labels which represent the tree level of each node when generating option labels.
Bases: django.forms.models.ModelChoiceField
Duplicating the TreeNodeChoiceField bundled in django-mptt to avoid conflict with the TreeNodeChoiceField bundled in django-cms...
Creates labels which represent the tree level of each node when generating option labels.