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 entries
Advanced search on entries
Basic search on entries
Return published entries
Return entries published on current site
Top level search method on entries
Bases: django.db.models.manager.Manager
Manager to retrieve objects associated with published entries
Return a queryset containing published entries
Return only the entries published
Return the published tags
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
Connect all the signals on the Comment model to maintains a valid discussion count on each entries when an action is done with the comments.
Connect all the signals on Entry model.
Update Entry.comment_count when a comment was posted.
Update the count of each type of discussion on an entry.
Update Entry.pingback_count when a pingback was posted.
Update Entry.trackback_count when a trackback was posted.
Decorator for disabling signals sent by ‘post_save’ on loaddata command. http://code.djangoproject.com/ticket/8399
Disconnect all the signals on Comment model provided by Zinnia.
Disconnect all the signals on Entry model.
Ping directories when an entry is saved.
Ping externals URLS when an entry is saved.
Sitemaps for Zinnia
Bases: zinnia.sitemaps.EntryRelatedSitemap
Sitemap for authors
alias of Author
Bases: zinnia.sitemaps.EntryRelatedSitemap
Sitemap for categories
alias of Category
Bases: zinnia.sitemaps.ZinniaSitemap
Sitemap for models related to Entries
Cache infos like the number of entries published and the last modification date for standardized access later.
Build a queryset of items with published entries and annotated with the number of entries and the latest modification date.
Get a queryset, cache infos for standardized access to them later then compute the maximum of entries to define the priority of each items.
The last modification date is defined by the latest entries last update in the cache.
The priority of the item depends of the number of entries published in the cache divided by the maximum of entries.
Define the maximum of entries for computing the priority of each items later.
Bases: zinnia.sitemaps.ZinniaSitemap
Sitemap for entries
Return published entries
Return last modification of an entry
Bases: zinnia.sitemaps.EntryRelatedSitemap
Sitemap for tags
Cache the number of entries published and the last modification date under each tag.
Return the published Tags with option counts.
Return URL of the Tag
Bases: django.contrib.sitemaps.Sitemap
Base Sitemap class for Zinnia