mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Added a test for Model._meta._property_names.
This commit is contained in:
parent
0a66aa158a
commit
36f09c8a29
2 changed files with 9 additions and 0 deletions
|
@ -39,6 +39,10 @@ class AbstractPerson(models.Model):
|
|||
class Meta:
|
||||
abstract = True
|
||||
|
||||
@property
|
||||
def test_property(self):
|
||||
return 1
|
||||
|
||||
|
||||
class BasePerson(AbstractPerson):
|
||||
# DATA fields
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue