django/django — pull request #2260 by thoas (2014-02-10 18:08:58+00:00)
Title: Fixed #21801 -- Added check for object when calling SingleObjectMixin.get_context_data

When SingleObjectMixin.get_context_data is called, first
check if the view has an actual **object** attribute if not re-call
**self.get_object()**.