mysociety / popit-api

DEPRECATED - Development on PopIt has stopped and it is no longer being maintained
https://goo.gl/Vvej4Q
Other
17 stars 3 forks source link

Use .set to add url and proxy_url to the image #140

Closed chrismytton closed 9 years ago

chrismytton commented 9 years ago

This is required because the images are now a model and setting unknown attributes on a model requires the use of .set.

Fixes https://github.com/mysociety/popit/issues/811

mhl commented 9 years ago

:+1: Looks good to me; I also tried this locally and it fixed the problem.