mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
added missing line
This commit is contained in:
parent
6ba4df8a27
commit
03100168ff
|
@ -166,6 +166,7 @@ class BlankFieldModel(RESTFrameworkModel):
|
|||
class OptionalRelationModel(RESTFrameworkModel):
|
||||
other = models.ForeignKey('OptionalRelationModel', blank=True, null=True)
|
||||
|
||||
|
||||
# Model for RegexField
|
||||
class Book(RESTFrameworkModel):
|
||||
isbn = models.CharField(max_length=13)
|
||||
|
|
Loading…
Reference in New Issue
Block a user