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
View for tag autocompletion
Close the comments for selected entries
Close the pingbacks for selected entries
Close the trackbacks 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.is_visible
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
Mark selected as featured post.
View for serving the config of MarkItUp
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
Un-Mark selected featured posts
View for serving the config of WYMEditor
Filters for Zinnia admin
Bases: zinnia.admin.filters.RelatedPublishedFilter
List filter for EntryAdmin with published authors only.
alias of Author
Bases: zinnia.admin.filters.RelatedPublishedFilter
List filter for EntryAdmin about categories with published entries.
alias of Category
Bases: django.contrib.admin.filters.SimpleListFilter
Base filter for related objects to published entries.
Return published objects with the number of entries.
Return the object’s entries if a value is set.
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.