mirror of
https://github.com/django/django.git
synced 2025-11-25 21:22:14 +00:00
Refs #25165 -- Fixed JSON serialization for delete popup in the admin.
This commit is contained in:
parent
8715205c5c
commit
3541ca1504
3 changed files with 19 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue