Skip to content

Commit

Permalink
update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Nov 2, 2023
1 parent 14d87dc commit bb5a1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lemarche/users/migrations/0030_user_sectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class Migration(migrations.Migration):
field=models.ManyToManyField(
blank=True,
help_text="Quelles sont les familles d’achat sur lesquelles vous travaillez ?",
related_name="buyers",
related_name="users",
to="sectors.sector",
verbose_name="Secteurs d'activité",
),
Expand Down
2 changes: 1 addition & 1 deletion lemarche/users/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class User(AbstractUser):
sectors = models.ManyToManyField(
"sectors.Sector",
verbose_name="Secteurs d'activité",
related_name="buyers",
related_name="users",
blank=True,
help_text="Quelles sont les familles d’achat sur lesquelles vous travaillez ?",
)
Expand Down

0 comments on commit bb5a1ac

Please sign in to comment.