Load panels with werkzeug's "import_string"

Also add back caching of the loaded panel classes.
This prevents repeated warnings if there was an import error loading the
class the first time.
This commit is contained in:
Matt Good
2013-07-30 17:56:54 -07:00
parent 356e6c8268
commit 26034475f2
2 changed files with 26 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ setup(
'Flask>=0.8',
'Blinker',
'itsdangerous',
'werkzeug',
],
classifiers=[
'Development Status :: 4 - Beta',