Contents
Comparison tools for Zinnia Based on clustered_models app
Bases: object
Wrapper around Model class building a dataset of instances
Generate a dataset with the queryset and specified fields
Bases: object
Build a list of vectors based on datasets
Generate whole dataset
Flush the dataset
Generate key for this list of vectors
Compute the pearson score between 2 lists of vectors
Context Processors for Zinnia
Adds version of Zinnia to the context
Feeds for Zinnia
Bases: zinnia.feeds.EntryFeed
Feed filtered by an author
Description of the feed
Retrieve the author by his username
Title of the feed
Items are the published entries of the author
URL of the author
Bases: zinnia.feeds.EntryFeed
Feed filtered by a category
Description of the feed
Retrieve the category by his path
Title of the feed
Items are the published entries of the category
URL of the category
Bases: zinnia.feeds.ZinniaFeed
Base class for Discussion Feed
Author’s email of the discussion
Author’s URL of the discussion
Author of the discussion
URL of the discussion
Publication date of a discussion
Bases: zinnia.feeds.EntryDiscussions
Feed for comments in an entry
Description of the feed
Title of the feed
Hardcoded enclosure length
Hardcoded enclosure mimetype
Returns a gravatar image for enclosure
URL of the comment
Items are the comments on the entry
Bases: zinnia.feeds.DiscussionFeed
Feed for discussions on an entry
Description of the feed
Retrieve the discussions by entry’s slug
Title of the feed
Items are the discussions on the entry
URL of the entry
Bases: zinnia.feeds.ZinniaFeed
Base Entry Feed
Returns the first author’s email
Returns the author’s URL
Returns the first author of an entry
Entry’s categories
Hardcoded enclosure length
Hardcoded enclosure mimetype
Returns an image for enclosure
Publication date of an entry
Bases: zinnia.feeds.EntryDiscussions
Feed for pingbacks in an entry
Description of the feed
Title of the feed
URL of the pingback
Items are the pingbacks on the entry
Bases: zinnia.feeds.EntryDiscussions
Feed for trackbacks in an entry
Description of the feed
Title of the feed
URL of the trackback
Items are the trackbacks on the entry
Bases: zinnia.feeds.DiscussionFeed
Feed for the latest discussions
Description of the feed
Title of the feed
Items are the discussions on the entries
URL of latest discussions
Bases: zinnia.feeds.EntryFeed
Feed for the latest entries
Description of the feed
Title of the feed
Items are published entries
URL of latest entries
Bases: zinnia.feeds.EntryFeed
Feed filtered by a search pattern
Description of the feed
The GET parameter ‘pattern’ is the object
Title of the feed
Items are the published entries founds
URL of the search request
Managers of Zinnia
Bases: django.db.models.manager.Manager
Manager to retrieve published authors
Return published authors
Bases: django.db.models.manager.Manager
Manager to retrieve published entries
Advanced search on entries
Basic search on entries
Return published entries
Return entries published on current site
Top level search method on entries
Return only the entries published
Return the published tags
Models of Zinnia
Bases: django.contrib.auth.models.User
Proxy Model around User
Bases: django.contrib.auth.models.DoesNotExist
Bases: django.contrib.auth.models.MultipleObjectsReturned
Return only the entries published
Return author’s URL
Bases: mptt.models.MPTTModel
Category object for Entry
Bases: django.core.exceptions.ObjectDoesNotExist
Bases: django.core.exceptions.MultipleObjectsReturned
Return only the entries published
Return category’s URL
Return category’s tree path, by his ancestors
Bases: zinnia.models.EntryAbstractClass
The final Entry model based on inheritence. Check this out for customizing the Entry Model class: http://django-blog-zinnia.com/documentation/how-to/extending_entry_model/
Bases: django.core.exceptions.ObjectDoesNotExist
Bases: django.core.exceptions.MultipleObjectsReturned
Return entry’s URL
Bases: django.db.models.base.Model
Base Model design for publishing entries
Entry’s Meta
Return published comments
Check if comments are open
Return published discussions
Return entry’s URL
Return the Entry.content attribute formatted in HTML
Check if an entry is within publication period
Check if an entry is visible on site
Return the next entry
Return published pingbacks
Return the previous entry
Return only related entries published
Return the entry’s short url
Return published trackbacks
Count the words of an entry
Determine the base Model to inherit in the Entry Model, this allow to overload it.
Moderator of Zinnia comments
Bases: django.contrib.comments.moderation.CommentModerator
Moderate the comment of Entry
Send email notification of a new comment to the authors of the entry when email notifications have been requested.
Send email notification of a new comment to site staff when email notifications have been requested.
Send email notification of a new comment to the authors of the previous comments when email notifications have been requested.
Determine whether a given comment on a given object should be allowed to show up immediately, or should be marked non-public and await approval.
Pings utilities for Zinnia
Bases: threading.Thread
Threaded Directory Pinger
Ping an entry to a Directory
Ping entries to a Directory in a Thread
Bases: threading.Thread
Threaded ExternalUrls Pinger
Find external urls in an entry
Try to find Link markup to pingback url
Find the pingback urls of each urls
Check of the url in an external url
Do a pingback call for the target url
Ping external URLS in a Thread
Bases: object
Object defining the ressources of the website
Search module with complex query parsing for Zinnia
Parse the grammar of a pattern and build a queryset with it
Creates the Q() object
Appends all the Q() objects
Signal handlers of Zinnia
Decorator for disabling signals sent by ‘post_save’ on loaddata command. http://code.djangoproject.com/ticket/8399
Disconnect all the signals provided by Zinnia
Ping Directories when an entry is saved
Ping Externals URLS when an entry is saved
Sitemaps for Zinnia
Bases: django.contrib.sitemaps.Sitemap
Sitemap for authors
Return published authors
Return last modification of an author
Return url of an author
Bases: django.contrib.sitemaps.Sitemap
Sitemap for categories
Cache categorie’s entries percent on total entries
Return all categories with coeff
Return last modification of a category
Compute priority with cached coeffs
Bases: django.contrib.sitemaps.Sitemap
Sitemap for entries
Return published entries
Return last modification of an entry
Bases: django.contrib.sitemaps.Sitemap
Sitemap for tags
Cache tag’s entries percent on total entries
Return all tags with coeff
Return last modification of a tag
Return url of a tag
Compute priority with cached coeffs