diff options
| author | Claude Paroz <claude@2xlibre.net> | 2015-12-26 18:46:51 +0100 |
|---|---|---|
| committer | Claude Paroz <claude@2xlibre.net> | 2015-12-28 20:29:08 +0100 |
| commit | 35c41987ecfaad849019d09468ce322fec86cd39 (patch) | |
| tree | dfd403acbb79307aeab29062a4872d0b7f934bdd /tests/admin_utils/models.py | |
| parent | 0d855990f76c3a072092cede74a816d79ab9e416 (diff) | |
Moved LogEntry-related tests to their own test case
Thanks Tim Graham for reviewing and contributing to the patch.
Refs #21113.
Diffstat (limited to 'tests/admin_utils/models.py')
| -rw-r--r-- | tests/admin_utils/models.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/admin_utils/models.py b/tests/admin_utils/models.py index c328ec50a2..a4fe85291c 100644 --- a/tests/admin_utils/models.py +++ b/tests/admin_utils/models.py @@ -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() |
