Geen omschrijving
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 422B

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