Reputation: 355
I'm trying to test an apps that use material.forms but i got this error:-
from material.forms import ModelForm, InlineFormSetField
ImportError: No module named forms
i'm using virtualenv.
python 2.7,
django 1.10.5,
django-material 0.12.5
Did i miss something?
Upvotes: 1
Views: 3841
Reputation: 1618
Looking at the source code on GitHub, there is no material.forms
. I think you are supposed to use the normal Django`s from django.forms import ModelForm, ..
and the package handles it front-end wise.
Upvotes: 1
Reputation: 2157
The documentation states that django-viewflow requires Python 3.4 or greater, django 1.8/1.9/1.10:
whereas your python version is 2.7.
To use 2.7 you need to get the pro version. Read the docs for more info.
Upvotes: 1