armstrong/armstrong.apps.donations — pull request #25 by crccheck (2012-04-19 20:22:04+00:00)
Title: Fix kwargs not getting passed through to get_context_data

In the standard django views, kwargs get handed down from dispatch to get_context_data.
This didn't happen in the DonationFormView. So I removed the custom
get() method. TemplateView's get() gets used instead.

For comparison, here's what was getting used:

def get(self, request, *args, **kwargs):
return self.render_to_response(self.get_context_data())

and TemplateView's for comparison:

def get(self, request, *args, **kwargs):
context = self.get_context_data(**kwargs)
return self.render_to_response(context)