

def get_context_data(self, **kwargs):
    context = super(CreateView, self).get_context_data(**kwargs)
    context['instance'] = self.get_object()
    return context

dataset/ETHPy150Open Havate/havate-openstack/proto-build/gui/horizon/Horizon_GUI/openstack_dashboard/dashboards/project/images_and_snapshots/snapshots/views.py CreateView.get_context_data/original