Bases: django.contrib.admin.options.ModelAdmin
alias of ArticleForm
Bases: django.forms.models.ModelForm
Bases: django.contrib.contenttypes.generic.GenericTabularInline
alias of ArticleForObject
Bases: django.contrib.admin.options.ModelAdmin
alias of ArticleRevisionForm
Bases: django.forms.models.ModelForm
Bases: django.contrib.admin.options.TabularInline
alias of ArticleRevisionForm
alias of ArticleRevision
Bases: mptt.admin.MPTTModelAdmin
View decorator for processing standard url keyword args: Intercepts the keyword args path or article_id and looks up an article, calling the decorated func with this ID.
Will accept a func(request, article, *args, **kwargs)
NB! This function will redirect if an article does not exist, permissions are missing or the article is deleted.
Arguments:
can_read=True and/or can_write=True: Check that the current request.user has correct permissions.
can_delete and can_moderate: Verifies with wiki.core.permissions
can_create: Same as can_write but adds an extra global setting for anonymous access (ANONYMOUS_CREATE)
deleted_contents=True: Do not redirect if the article has been deleted.
not_locked=True: Return permission denied if the article is locked
Also see: wiki.views.mixins.ArticleMixin
Bases: django.forms.forms.Form, wiki.forms.SpamProtectionMixin
Bases: django.forms.forms.Form
Bases: django.forms.forms.Form
Bases: django.forms.forms.Form
Bases: django.forms.forms.Form, wiki.forms.SpamProtectionMixin
Bases: wiki.core.plugins.base.PluginSettingsFormMixin, django.forms.models.ModelForm
alias of Article
Bases: django.forms.forms.Form
Bases: django.forms.widgets.Select
http://twitter.github.com/bootstrap/components.html#buttonDropdowns Needs bootstrap and jquery
Check a form for spam. Only works if properties ‘request’ and ‘revision_model’ are set.
Check that user or IP address does not perform content edits that are not allowed.
current_revision can be any object inheriting from models.BaseRevisionMixin
alias of ArticleRevision
Bases: django.forms.widgets.TextInput
Bases: django.contrib.auth.forms.UserCreationForm
Bases: wiki.managers.ArticleFkEmptyQuerySetMixin, django.db.models.query.EmptyQuerySet
Bases: django.db.models.manager.Manager
Bases: wiki.managers.ArticleFkQuerySetMixin, django.db.models.query.QuerySet
Filter objects so only the ones with a user’s reading access are included
Filter objects so only the ones with a user’s writing access are included
Bases: django.db.models.query.EmptyQuerySet
Bases: django.db.models.manager.Manager
Bases: django.db.models.query.QuerySet
Filter objects so only the ones with a user’s reading access are included
Filter objects so only the ones with a user’s writing access are included
Bases: django.db.models.query.EmptyQuerySet, wiki.managers.ArticleFkEmptyQuerySetMixin
Bases: mptt.managers.TreeManager
Return a QuerySet with the same ordering as the TreeManager.
Bases: django.db.models.query.QuerySet, wiki.managers.ArticleFkQuerySetMixin