Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

django 1.7 API update #124

Open
Christophe31 opened this issue Aug 8, 2014 · 1 comment
Open

django 1.7 API update #124

Christophe31 opened this issue Aug 8, 2014 · 1 comment

Comments

@Christophe31
Copy link

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.

here the function in django api:
https://github.com/django/django/blob/master/django/forms/forms.py#L34

@ebertti
Copy link

ebertti commented May 29, 2015

👍

max-arnold added a commit to innoteq/olwidget that referenced this issue Jun 16, 2016
max-arnold added a commit to innoteq/olwidget that referenced this issue Jun 16, 2016
max-arnold added a commit to innoteq/olwidget that referenced this issue Jun 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants