No Description
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.

__init__.py 506B

123456789101112131415161718
  1. from lodel.context import LodelContext
  2. LodelContext.expose_modules(globals(), {
  3. 'lodel.settings.validator': ['SettingValidator']})
  4. __plugin_name__ = "multisite"
  5. __version__ = '0.0.1' #or __version__ = [0,0,1]
  6. __loader__ = "main.py"
  7. __author__ = "Lodel2 dev team"
  8. __fullname__ = "Multisite plugin"
  9. __name__ = 'yweber.dummy'
  10. __plugin_type__ = 'extension'
  11. CONFSPEC = {
  12. 'lodel2.server': {
  13. 'port': (80,SettingValidator('int')),
  14. 'listen_addr': ('', SettingValidator('string')),
  15. }
  16. }