{"push_id":991933195,"size":2,"distinct_size":2,"ref":"refs/heads/next","head":"00ca44b24404dbbe90a9a140a6bb7d1077270bf5","before":"fec0b3d535d3e214bdeb0931305ab6bca490f63b","commits":[{"sha":"fa23dd2c48cc627f03e405f4875f8ffd18328839","author":{"email":"03ba907c3693404d35aa5bbcc9711e482d4f0990@reannz.co.nz","name":"Vladimir Mencl"},"message":"InstServer M2M: fix instid handling in server edit\n\nFix issue: editing and saving an InstServer by an inst admin drops all other Inst associations\n\nFix: remove field['instid'] overrides\n\nSubsequent issue: this allows arbitrary edits of the list of institutions IF\nthe user changes the display:none style in browser.\n\nFix: exclude ['instid'] from the form\n\nSubsequent issue: this breaks validation relying on instid\n\nAttempted fix: access instid from model instance, not from cleaned_data: self.instance.instid.all()\nReason for not using this fix: breaks on creating a new server:\n\n    ValueError: \"<InstServer: Server: , Type: None>\" needs to have a value for field \"instserver\" before this many-to-many relationship can be used.\n\nAlternate fix: hint the list of institutions to the ModelForm out-of-band (via inst_list attribute)\n\nAdditional fix: add the institution to the InstServer AFTER saving.","distinct":true,"url":"https://api.github.com/repos/grnet/djnro/commits/fa23dd2c48cc627f03e405f4875f8ffd18328839"},{"sha":"00ca44b24404dbbe90a9a140a6bb7d1077270bf5","author":{"email":"8fea68755e2fd13562f0c283738668ed392bc710@noc.grnet.gr","name":"Sergios Aftsidis"},"message":"Merge pull request #14 from REANNZ/instserver-m2m-feb24\n\nInstServer M2M: fix instid handling in server edit","distinct":true,"url":"https://api.github.com/repos/grnet/djnro/commits/00ca44b24404dbbe90a9a140a6bb7d1077270bf5"}]}