Unable to access certain admin sections with bound forms. Below error shows up when access User page from Django admin.
| Request Method: |
GET |
| http://10.10.134.239:9005/admin/auth/user/ |
|
| 3.1 |
|
| AttributeError |
|
| module 'django.forms.forms' has no attribute 'BoundField' |
|
| /usr/local/lib/python3.6/site-packages/djng/forms/angular_base.py, line 151, in |
|
| /usr/bin/python3 |
|
| 3.6.8 |
|
/usr/local/lib/python3.6/site-packages/djng/forms/angular_base.py, line 151, in
144. """
145. context = super(NgWidgetMixin, self).get_context(name, value, attrs)
146. if callable(getattr(self._field, 'update_widget_rendering_context', None)):
147. self._field.update_widget_rendering_context(context)
148. return context
149.
150.
151.class NgBoundField(forms.BoundField): …
152. @Property
153. def errors(self):
154. """
155. Returns a TupleErrorList for this field. This overloaded method adds additional error lists
156. to the errors as detected by the form validator.
157. """
Unable to access certain admin sections with bound forms. Below error shows up when access User page from Django admin.
/usr/local/lib/python3.6/site-packages/djng/forms/angular_base.py, line 151, in
144. """
145. context = super(NgWidgetMixin, self).get_context(name, value, attrs)
146. if callable(getattr(self._field, 'update_widget_rendering_context', None)):
147. self._field.update_widget_rendering_context(context)
148. return context
149.
150.
151.class NgBoundField(forms.BoundField): …
152. @Property
153. def errors(self):
154. """
155. Returns a TupleErrorList for this field. This overloaded method adds additional error lists
156. to the errors as detected by the form validator.
157. """