Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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