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

Transaction.updatable_fields will force _update to raise a KeyError #30

Open
AndreiHondrari opened this issue Jan 25, 2018 · 0 comments

Comments

@AndreiHondrari
Copy link

AndreiHondrari commented Jan 25, 2018

On this line:

return 'description'

a string is returned, which is being iterated over here:

for u in obj.updatable_fields():

but it should have been a tuple like the other models. I guess a missing comma will do it.

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

1 participant