mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #23039: Don't try to serialize unmanaged models in tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user