Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextField error #154

Open
darker0n opened this issue Jun 2, 2016 · 0 comments
Open

TextField error #154

darker0n opened this issue Jun 2, 2016 · 0 comments

Comments

@darker0n
Copy link

darker0n commented Jun 2, 2016

Error while I'm using this File Admin example -> https://github.com/syrusakbary/Flask-SuperAdmin/blob/master/doc/quickstart.rst#file-admin

19:04:42 web.1  |   File "/home/darker0n/workspace/test/test/views/admin.py", line 5, in <module>
19:04:42 web.1  |     from flask.ext.superadmin.contrib.fileadmin import FileAdmin
19:04:42 web.1  |   File "/usr/local/lib/python2.7/dist-packages/flask/exthook.py", line 62, in load_module
19:04:42 web.1  |     __import__(realname)
19:04:42 web.1  |   File "/usr/local/lib/python2.7/dist-packages/flask_superadmin/contrib/fileadmin.py", line 20, in <module>
19:04:42 web.1  |     class NameForm(form.BaseForm):
19:04:42 web.1  |   File "/usr/local/lib/python2.7/dist-packages/flask_superadmin/contrib/fileadmin.py", line 26, in NameForm
19:04:42 web.1  |     name = wtf.TextField()
19:04:42 web.1  | AttributeError: 'module' object has no attribute 'TextField'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant