mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-01-23 15:54:16 +03:00
CharField in model should be null=True according Django docs
All tests should still pass Ref #514
This commit is contained in:
parent
497da7fc69
commit
6f6aeadf5f
|
@ -160,7 +160,7 @@ class Photo(RESTFrameworkModel):
|
|||
|
||||
# Model for issue #324
|
||||
class BlankFieldModel(RESTFrameworkModel):
|
||||
title = models.CharField(max_length=100, blank=True, null=True)
|
||||
title = models.CharField(max_length=100, blank=True, null=False)
|
||||
|
||||
|
||||
# Model for issue #380
|
||||
|
|
Loading…
Reference in New Issue
Block a user