mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #27188 -- Allowed using unique=True with FileField.
Thanks Tim Graham for the initial patch.
This commit is contained in:
committed by
Tim Graham
parent
625cd5bcb3
commit
ec9ed07488
@@ -183,6 +183,7 @@ File Fields
|
||||
~~~~~~~~~~~
|
||||
|
||||
* **fields.E200**: ``unique`` is not a valid argument for a ``FileField``.
|
||||
*This check is removed in Django 1.11*.
|
||||
* **fields.E201**: ``primary_key`` is not a valid argument for a ``FileField``.
|
||||
* **fields.E210**: Cannot use ``ImageField`` because Pillow is not installed.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user