Skip to content

Commit

Permalink
Increase character limit on suggest page
Browse files Browse the repository at this point in the history
From 40 characters to 80 characters

Bug: T330457
  • Loading branch information
RedDragonWebDesign committed May 19, 2023
1 parent a51e5a7 commit b465be5
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 b465be5

Please sign in to comment.