[Flask] Problem with Flask-Admin
Andrea D'Amore
and.damore at gmail.com
Sun May 8 12:07:51 EDT 2016
On 8 May 2016 at 00:18, Lorenzo Mainardi <lormayna at gmail.com> wrote:
> AttributeError: 'module' object has no attribute 'Status'
>
> I really don't know where is the problem.
> Could you help me?
You need to paste (or attach if pasting isn't feasible) models.py,
seems you think to have derived a SQLAlchemy Model there but the
interpreter doesn't agree.
As odd as it is you might be importing a "models" package from global
site-package, what does models.__file__ say?
--
Andrea
More information about the Flask
mailing list