暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

extensions.py 351B

1234567891011121314
  1. from .plugins import Plugin
  2. from .exceptions import *
  3. from lodel.settings.validator import SettingValidator
  4. class Extension(Plugin):
  5. _plist_confspecs = {
  6. 'section': 'lodel2',
  7. 'key': 'extensions',
  8. 'default': [],
  9. 'validator': SettingValidator('list', none_is_valid = False)}
  10. _type_conf_name = 'extension'