django-orchestra/orchestra/contrib/saas/backends/__init__.py
2015-04-05 10:46:24 +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)