Bases: django.contrib.admin.options.ModelAdmin
Bases: django.contrib.admin.options.TabularInline
alias of AttachmentRevision
Bases: wiki.plugins.attachments.forms.AttachmentForm
Bases: django.forms.models.ModelForm
Bases: wiki.plugins.attachments.forms.AttachmentForm
Bases: django.forms.forms.Form
This form is both used for dereferencing and deleting attachments
Bases: django.forms.forms.Form
Bases: markdown.extensions.Extension
Abbreviation Extension for Python-Markdown.
Insert AbbrPreprocessor before ReferencePreprocessor.
Bases: markdown.preprocessors.Preprocessor
django-wiki attachment preprocessor - parse text for [attachment:id] references.
Bases: models.pluginbase.ReusablePlugin
Attachment(id, article_id, deleted, created, articleplugin_ptr_id, reusableplugin_ptr_id, current_revision_id, original_filename)
Bases: models.pluginbase.DoesNotExist
Bases: models.pluginbase.MultipleObjectsReturned
Bases: wiki.models.article.BaseRevisionMixin, django.db.models.base.Model
AttachmentRevision(id, revision_number, user_message, automatic_log, ip_address, user_id, modified, created, previous_revision_id, attachment_id, file, description)
Bases: django.core.exceptions.ObjectDoesNotExist
Bases: django.core.exceptions.MultipleObjectsReturned
Used to retrieve the filename of a revision. But attachment.original_filename should always be used in the frontend such that filenames stay consistent.
Used to retrieve the file size and not cause exceptions.
Bases: exceptions.Exception
File extension on upload is not allowed
Bases: wiki.core.plugins.base.BasePlugin