Skip to content

Commit

Permalink
Fixed #802 -- Added Max Length to models.CharField (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
smithdc1 committed Nov 3, 2020
1 parent 3768fb8 commit 0e607bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crispy_forms/tests/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ class CrispyEmptyChoiceTestModel(models.Model):
choices=[("apple", "Apple"), ("pear", "Pear")],
null=True,
blank=True,
max_length=20,
)


Expand Down

0 comments on commit 0e607bf

Please sign in to comment.