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

error running examples #100

Open
egafni opened this issue Aug 28, 2013 · 1 comment
Open

error running examples #100

egafni opened this issue Aug 28, 2013 · 1 comment

Comments

@egafni
Copy link

egafni commented Aug 28, 2013

$ python simple.py
Traceback (most recent call last):
File "simple.py", line 3, in
from flask.ext import superadmin
File "/home/erik/.virtualenvs/tmp/local/lib/python2.7/site-packages/flask/exthook.py", line 62, in load_module
import(realname)
File "/home/erik/.virtualenvs/tmp/local/lib/python2.7/site-packages/flask_superadmin/init.py", line 2, in
from model import ModelAdmin
File "/home/erik/.virtualenvs/tmp/local/lib/python2.7/site-packages/flask_superadmin/model/init.py", line 1, in
from .base import ModelAdmin, AdminModelConverter
File "/home/erik/.virtualenvs/tmp/local/lib/python2.7/site-packages/flask_superadmin/model/base.py", line 10, in
from flask_superadmin.form import BaseForm, ChosenSelectWidget, DatePickerWidget,
File "/home/erik/.virtualenvs/tmp/local/lib/python2.7/site-packages/flask_superadmin/form.py", line 115, in
class FileField(wtf.FileField):
AttributeError: 'module' object has no attribute 'FileField'

@burhan
Copy link
Contributor

burhan commented Sep 2, 2013

I submitted a patch that fixes this problem.

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

2 participants