django-orchestra/orchestra/apps/saas/backends/__init__.py
Marc Aymerich 7133bd31ea flake8
2015-04-04 17:44:07 +00:00

17 lines
389 B
Python

import pkgutil
class SaaSServiceMixin(object):
model = 'saas.SaaS'
# TODO Match definition support on backends (mysql) and saas
def get_context(self, webapp):
# TODO
return {
}
for __, module_name, __ in pkgutil.walk_packages(__path__):
# sorry for the exec(), but Import module function fails :(
exec('from . import %s' % module_name)