1
0
mirror of https://github.com/django/django.git synced 2025-10-25 06:36:07 +00:00

[1.7.x] Fixed #23039: Don't try to serialize unmanaged models in tests

This commit is contained in:
Andrew Godwin
2014-07-21 10:09:31 +01:00
parent 2fb1939a9e
commit ff8d715a0a
2 changed files with 8 additions and 1 deletions

View File

@@ -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