1
0
mirror of https://github.com/django/django.git synced 2025-10-23 21:59:11 +00:00

Refs #25165 -- Fixed JSON serialization for delete popup in the admin.

This commit is contained in:
Tim Graham
2016-01-08 19:39:05 -05:00
parent 8715205c5c
commit 3541ca1504
3 changed files with 19 additions and 2 deletions

View File

@@ -968,4 +968,4 @@ class ParentWithUUIDPK(models.Model):
class RelatedWithUUIDPKModel(models.Model):
parent = models.ForeignKey(ParentWithUUIDPK, on_delete=models.CASCADE)
parent = models.ForeignKey(ParentWithUUIDPK, on_delete=models.SET_NULL, null=True, blank=True)