{"comment":{"url":"https://api.github.com/repos/calblueprint/revolv/comments/10402229","html_url":"https://github.com/calblueprint/revolv/commit/117d0b70b4b33a34f2418821e3cb6eb4a82ff9c3#commitcomment-10402229","id":10402229,"user":{"login":"noahsark769","id":1168853,"avatar_url":"https://avatars.githubusercontent.com/u/1168853?v=3","gravatar_id":"","url":"https://api.github.com/users/noahsark769","html_url":"https://github.com/noahsark769","followers_url":"https://api.github.com/users/noahsark769/followers","following_url":"https://api.github.com/users/noahsark769/following{/other_user}","gists_url":"https://api.github.com/users/noahsark769/gists{/gist_id}","starred_url":"https://api.github.com/users/noahsark769/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahsark769/subscriptions","organizations_url":"https://api.github.com/users/noahsark769/orgs","repos_url":"https://api.github.com/users/noahsark769/repos","events_url":"https://api.github.com/users/noahsark769/events{/privacy}","received_events_url":"https://api.github.com/users/noahsark769/received_events","type":"User","site_admin":false},"position":16,"line":48,"path":"revolv/project/views.py","commit_id":"117d0b70b4b33a34f2418821e3cb6eb4a82ff9c3","created_at":"2015-03-25T23:57:06Z","updated_at":"2015-03-25T23:57:06Z","body":"Hm, this is still kind of weird because we're still calling `get_context_data` where we don't need to. What about this idea:\r\n\r\n1. Make `get_donation_level_formset` do what `add_donation_level_formset` does right now, but return the formset instead of adding it.\r\n2. In `get_context_data`, we can just do `context[\"donation_level_formset\"] = self.get_donation_level_formset()`\r\n3. In `form_valid`, we simply have to call `formset = self.get_donation_level_formset()`"}}