Changes between Initial Version and Version 1 of Ticket #25241
- Timestamp:
- Aug 6, 2015, 5:36:31 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25241
- Property Has patch set
-
Ticket #25241 – Description
initial v1 1 self.2 3 1 `save()` [https://github.com/django/django/blob/3e1bb5cfb8f9676e0c045f0d101a094437133b54/django/forms/models.py#L457 checks] `self.instance.pk is None` which is the incorrect condition in the case of a model with a `UUIDField` primary key.