mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed #23039: Don't try to serialize unmanaged models in tests
This commit is contained in:
parent
5875b8d133
commit
2984b30ce8
2 changed files with 8 additions and 1 deletions
|
@ -3,3 +3,10 @@ from django.db import models
|
|||
|
||||
class Book(models.Model):
|
||||
title = models.CharField(max_length=100)
|
||||
|
||||
|
||||
class Unmanaged(models.Model):
|
||||
title = models.CharField(max_length=100)
|
||||
|
||||
class Meta:
|
||||
managed = False
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue