Skip to content

Commit

Permalink
fix line length warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
noxan committed Oct 6, 2023
1 parent 6de6d21 commit 3e63c31
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 4 deletions.
5 changes: 4 additions & 1 deletion referral/migrations/0001_initial.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ class Migration(migrations.Migration):
(
"pattern",
models.CharField(
help_text=b"All auto created referrers containing this pattern will be associated with this campaign",
help_text=(
"All auto created referrers containing this pattern will be"
" associated with this campaign"
),
max_length=255,
verbose_name="Referrer pattern",
blank=True,
Expand Down
5 changes: 4 additions & 1 deletion referral/migrations/0002_auto_20230623_2008.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ class Migration(migrations.Migration):
name="pattern",
field=models.CharField(
blank=True,
help_text="All auto created referrers containing this pattern will be associated with this campaign",
help_text=(
"All auto created referrers containing this pattern will be "
"associated with this campaign"
),
max_length=255,
verbose_name="Referrer pattern",
),
Expand Down
5 changes: 4 additions & 1 deletion referral/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@ class Campaign(models.Model):
_("Referrer pattern"),
blank=True,
max_length=255,
help_text="All auto created referrers containing this pattern will be associated with this campaign",
help_text=(
"All auto created referrers containing this pattern will be associated with"
" this campaign"
),
)

class Meta:
Expand Down
3 changes: 2 additions & 1 deletion referral/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
# Should unknown referrers be auto created? Default: True
AUTO_CREATE = getattr(settings, "REFERRAL_AUTO_CREATE", True)

# If this is set auto created referrers will be associated to a campaign that defines a matching pattern. Default: True
# If this is set auto created referrers will be associated to a campaign that defines a
# matching pattern. Default: True
AUTO_ASSOCIATE = getattr(settings, "REFERRAL_AUTO_ASSOCIATE", True)

# If this is set to True, referral names will be case-sensitive.
Expand Down

0 comments on commit 3e63c31

Please sign in to comment.