Skip to content

Commit

Permalink
admin can update brand
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Nov 27, 2024
1 parent 0e7c042 commit 1574fe8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lemarche/siaes/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ class Siae(models.Model):
FIELDS_FROM_C1 = [
"name",
"slug", # generated from 'name'
"brand",
# "brand", # see UPDATE_FIELDS_IF_EMPTY in management/commands/sync_with_emplois_inclusion.py
"siret",
"naf",
"website",
Expand Down Expand Up @@ -617,7 +617,7 @@ class Siae(models.Model):

name = models.CharField(verbose_name="Raison sociale", max_length=255)
slug = models.SlugField(verbose_name="Slug", max_length=255, unique=True)
brand = models.CharField(verbose_name="Enseigne", max_length=255, blank=True)
brand = models.CharField(verbose_name="Nom commercial", max_length=255, blank=True)
kind = models.CharField(
verbose_name="Type de structure",
max_length=6,
Expand Down

0 comments on commit 1574fe8

Please sign in to comment.