Skip to content

Commit

Permalink
Merge pull request #1163 from NovemLinguae/eighty
Browse files Browse the repository at this point in the history
Increase character limit on suggest page
  • Loading branch information
suecarmol authored May 19, 2023
2 parents a51e5a7 + b465be5 commit 5301f83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion TWLight/resources/factories.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Meta:
model = Suggestion
strategy = factory.CREATE_STRATEGY

suggested_company_name = factory.Faker("pystr", max_chars=40)
suggested_company_name = factory.Faker("pystr", max_chars=80)
company_url = factory.Faker("url", locale=random.choice(settings.FAKER_LOCALES))


Expand Down
2 changes: 1 addition & 1 deletion TWLight/resources/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@


class SuggestionForm(forms.Form):
suggested_company_name = forms.CharField(max_length=40)
suggested_company_name = forms.CharField(max_length=80)
description = forms.CharField(widget=forms.Textarea, max_length=500)
company_url = forms.URLField(initial="http://")
next = forms.CharField(widget=forms.HiddenInput, max_length=40)
Expand Down
2 changes: 1 addition & 1 deletion TWLight/resources/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ class Meta:
ordering = ["suggested_company_name"]

suggested_company_name = models.CharField(
max_length=40, help_text="Potential partner's name (e.g. McFarland)."
max_length=80, help_text="Potential partner's name (e.g. McFarland)."
)

description = models.TextField(
Expand Down

0 comments on commit 5301f83

Please sign in to comment.