mirror of
https://github.com/django/django.git
synced 2025-11-25 13:13:28 +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:
parent
0d855990f7
commit
35c41987ec
6 changed files with 178 additions and 124 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue