Skip to content

Commit 2aa3ac2

Browse files
committed
minor tweaks
1 parent bc555cf commit 2aa3ac2

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

hypothesis-python/RELEASE.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
RELEASE_TYPE: patch
1+
RELEASE_TYPE: minor
22

3-
This patch fixes file field handling for django forms when using
3+
This release fixes file field handling for django forms when using
44
:func:`~hypothesis.extra.django.from_form` (:issue:`4093`).
55

66
Thanks to Arjoonn Sharma for this fix!

hypothesis-python/tests/django/toystore/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ class CustomishDefault(models.Model):
100100

101101

102102
class FileFields(models.Model):
103-
file1 = FileField()
103+
file1 = django.forms.FileField()
104104

105105

106106
class MandatoryComputed(models.Model):

hypothesis-python/tests/django/toystore/test_given_forms.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
CustomerForm,
2727
DynamicForm,
2828
EmailFieldForm,
29+
FileFieldsForm,
2930
InternetProtocolForm,
3031
ManyMultiValueForm,
3132
ManyNumericsForm,
@@ -41,7 +42,6 @@
4142
UsernameForm,
4243
UUIDFieldForm,
4344
WithValidatorsForm,
44-
FileFieldsForm,
4545
)
4646
from tests.django.toystore.models import Company
4747

0 commit comments

Comments
 (0)