mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.11.x] Added a test for Model._meta._property_names.
Backport of 36f09c8a29 from master
This commit is contained in:
@@ -39,6 +39,10 @@ class AbstractPerson(models.Model):
|
||||
class Meta:
|
||||
abstract = True
|
||||
|
||||
@property
|
||||
def test_property(self):
|
||||
return 1
|
||||
|
||||
|
||||
class BasePerson(AbstractPerson):
|
||||
# DATA fields
|
||||
|
||||
Reference in New Issue
Block a user