-
Notifications
You must be signed in to change notification settings - Fork 20
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
Minor hotfixes for Cordaid import #680
Milestone
Comments
KasperBrandt
added a commit
that referenced
this issue
Jul 17, 2014
zzgvh
added a commit
that referenced
this issue
Jul 17, 2014
Replace create_cordaid_business_units() with find_cordaid_business_units() turning the process inside-out so that we loop over the data and lookup the business units instead of the other way around. Change create_cats_and_benches() so it logs to file properly
zzgvh
added a commit
that referenced
this issue
Jul 18, 2014
When updating Cordaid projects the IATIProjectResource.obj_update method deletes all related objects so they can be re-created. This leads to Project.primary_location pointing to a deleted object so we have to set it to None since QuerySet.delete() does not call Model.delete() for the individual objects. (For reasons not understood a solution iterating over the ProjectLocation objects and calling delete() didn't work.)
KasperBrandt
added a commit
that referenced
this issue
Jul 18, 2014
[#680] Cordaid script improvements
Merged in #681 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Two minor hotfixes so that the Cordaid script does not crash:
The text was updated successfully, but these errors were encountered: