diff options
Diffstat (limited to 'tests/djapp/models.py')
-rw-r--r-- | tests/djapp/models.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/djapp/models.py b/tests/djapp/models.py index e98279d..9b21181 100644 --- a/tests/djapp/models.py +++ b/tests/djapp/models.py @@ -55,6 +55,15 @@ class ConcreteSon(AbstractBase): pass +class AbstractSon(AbstractBase): + class Meta: + abstract = True + + +class ConcreteGrandSon(AbstractSon): + pass + + class StandardSon(StandardModel): pass @@ -74,3 +83,7 @@ if Image is not None: # PIL is available else: class WithImage(models.Model): pass + + +class WithSignals(models.Model): + foo = models.CharField(max_length=20) |