Skip to content

Commit

Permalink
fix error fields.E300
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Sep 17, 2024
1 parent 97f5190 commit a160976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lemarche/cms/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from content_manager.models import ContentPage, SitesFacilesBasePage, Tag
from lemarche.cms import blocks
from lemarche.cms.forms import ArticlePageForm
from lemarche.cms.snippets import ArticleCategory
from lemarche.pages.models import PageFragment


Expand All @@ -21,7 +22,7 @@ class ArticlePage(Page):
image = models.ForeignKey(
"wagtailimages.Image", null=True, blank=True, on_delete=models.SET_NULL, related_name="+"
)
categories = ParentalManyToManyField("cms.ArticleCategory", blank=True)
categories = ParentalManyToManyField(ArticleCategory, blank=True)

is_static_page = models.BooleanField(verbose_name="c'est une page statique ?", default=False)
with_cta_tender = models.BooleanField(verbose_name="avec un CTA pour les besoins ?", default=False)
Expand Down

0 comments on commit a160976

Please sign in to comment.