You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
declared_fields = forms.models.get_declared_fields(bases, attrs, False) raises and error:
File "[...]/olwidget/forms.py", line 57, in __new__
AttributeError: 'module' object has no attribute 'get_declared_fields'
I looked at the functions in django, its in forms, but when I try using forms.get_declared_fields I have same error, it's deprecated and django 1.9 will have this function removed.
declared_fields = forms.models.get_declared_fields(bases, attrs, False) raises and error:
I looked at the functions in django, its in forms, but when I try using forms.get_declared_fields I have same error, it's deprecated and django 1.9 will have this function removed.
here the function in django api:
https://github.com/django/django/blob/master/django/forms/forms.py#L34
The text was updated successfully, but these errors were encountered: