django/django — pull request #100 by hzy- (2012-05-31 15:03:51+00:00)
Title: modified ModelFormMixin.get_success_url to check for self.object

I hit an error today where my view was trying to call get_success_url() on ModelFormMixin, with success_url set, but without self.object being present. This will fall back to a static url if self.object isn't available.