0

I am having ImportError:

cannot import name 'BoundField' from 'django.forms.forms'

I was facing ImportError:

cannot import name 'pretty_name' from 'django.forms.forms' 

then I changed:

from django.forms.forms import pretty_name

to

from django.forms.utils import pretty_name

Now the error changed.

Anyone having a solution for this?

NKSM
  • 5,422
  • 4
  • 25
  • 38
Kamronbek
  • 1
  • 1
  • 1
    Use either `from django.forms import BoundField` or `from django.forms.boundfield import BoundField`? How do you get this error (are you importing these yourselves or some package or the other is giving this error)? – Abdul Aziz Barkat Apr 14 '21 at 06:57

0 Answers0