1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Moved LogEntry-related tests to their own test case

Thanks Tim Graham for reviewing and contributing to the patch.
Refs #21113.
This commit is contained in:
Claude Paroz
2015-12-26 18:46:51 +01:00
parent 0d855990f7
commit 35c41987ec
6 changed files with 178 additions and 124 deletions

View File

@@ -28,6 +28,11 @@ class Article(models.Model):
test_from_model_with_override.short_description = "not What you Expect"
class ArticleProxy(Article):
class Meta:
proxy = True
@python_2_unicode_compatible
class Count(models.Model):
num = models.PositiveSmallIntegerField()