Skip to content
This repository was archived by the owner on Aug 8, 2020. It is now read-only.

Commit 18873cc

Browse files
authored
Update README.md
1 parent 7d685d5 commit 18873cc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ class TestModel(models.Model):
122122
)
123123
),
124124
},
125-
name='%(app_label)s_%(class)s_optional_field_provided',
125+
name='%(app_label)s_%(class)s_optional_field_provided', # For Django>=3.0
126+
model='myapp.TestModel', # To take advantage of name subsitution above add app_name.Model for Django<3.0.
126127
),
127128
]
128129

0 commit comments

Comments
 (0)