diff options
author | Thomas Goirand <thomas@goirand.fr> | 2014-07-03 15:13:48 +0800 |
---|---|---|
committer | Thomas Goirand <thomas@goirand.fr> | 2014-07-03 15:13:48 +0800 |
commit | 45918ff19633304a0e2a4d389a958bee46c03eff (patch) | |
tree | 8fb81a4a9bb21ef113fa14eeaec41ee8ceb1c1cb /tests/djapp/models.py | |
parent | 80628cd9bde3d8ffc989541a9171a569a5101dc0 (diff) | |
parent | 87f8cc0cc0d2f48f489c81b8c93e8ab6de6cff26 (diff) | |
download | factory-boy-45918ff19633304a0e2a4d389a958bee46c03eff.tar factory-boy-45918ff19633304a0e2a4d389a958bee46c03eff.tar.gz |
Merge tag '2.4.1' into debian/unstable
Release of factory_boy 2.4.1
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) |