1

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?

MunirohMansoor
  • 355
  • 1
  • 10
  • 19

2 Answers2

1

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.

Nrzonline
  • 1,600
  • 2
  • 18
  • 37
1

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.