Ticket #1674: pkgenviewupd.diff
File pkgenviewupd.diff, 544 bytes (added by , 19 years ago) |
---|
-
create_update.py
101 101 except ObjectDoesNotExist: 102 102 raise Http404, "No %s found for %s" % (model._meta.verbose_name, lookup_kwargs) 103 103 104 manipulator = model.ChangeManipulator(object.id, follow=follow) 104 manipulator = model.ChangeManipulator(getattr(object, object._meta.pk.name), 105 follow=follow) 105 106 106 107 if request.POST: 107 108 new_data = request.POST.copy()