Commit a4ef1950 by benjaoming

New tables after altering APP_LABEL on plugins

parent d567a4d0
from django.utils.translation import ugettext as _ from django.utils.translation import ugettext as _
from django import forms from django import forms
"""Base classes for different plugin objects."""
class BasePlugin(object): class BasePlugin(object):
"""Plugins should inherit from this"""
# Must fill in! # Must fill in!
slug = None slug = None
...@@ -38,6 +41,8 @@ class PluginSettingsFormMixin(object): ...@@ -38,6 +41,8 @@ class PluginSettingsFormMixin(object):
pass pass
class BaseEditor(): class BaseEditor():
"""Editors should inherit from this. See wiki.editors for examples."""
# The editor id can be used for conditional testing. If you write your # The editor id can be used for conditional testing. If you write your
# own editor class, you can use the same editor_id as some editor # own editor class, you can use the same editor_id as some editor
editor_id = 'plaintext' editor_id = 'plaintext'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment