Added a test for Model._meta._property_names.

This commit is contained in:
Adam Johnson 2017-06-05 08:27:55 -04:00 committed by Tim Graham
parent 0a66aa158a
commit 36f09c8a29
2 changed files with 9 additions and 0 deletions

View file

@ -39,6 +39,10 @@ class AbstractPerson(models.Model):
class Meta:
abstract = True
@property
def test_property(self):
return 1
class BasePerson(AbstractPerson):
# DATA fields