mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-03 20:10:10 +03:00
updates test model definition due to RelationField changes
This commit is contained in:
parent
d413ce5d1a
commit
2f73e3f704
|
@ -52,7 +52,7 @@ class CallableDefaultValueModel(RESTFrameworkModel):
|
|||
|
||||
|
||||
class ManyToManyModel(RESTFrameworkModel):
|
||||
rel = models.ManyToManyField(Anchor, help_text='Some help text.')
|
||||
rel = models.ManyToManyField(Anchor, help_text='Some help text.', blank=True)
|
||||
|
||||
|
||||
class ReadOnlyManyToManyModel(RESTFrameworkModel):
|
||||
|
|
Loading…
Reference in New Issue
Block a user