par défaut, pas de récurrence

This commit is contained in:
Jean-Marie Favreau 2024-04-23 23:26:26 +02:00
parent 2b56986712
commit ebf992112d
2 changed files with 2 additions and 1 deletions

View File

@ -130,7 +130,7 @@ def small_cat_recurrent(category, recurrence=False):
@register.filter
def circle_cat(category, recurrence=True):
def circle_cat(category, recurrence=False):
if category is None:
c = Category.default_css_class
n = Category.default_name

View File

@ -94,6 +94,7 @@ class EventFilter(django_filters.FilterSet):
field_name="status",
widget=forms.CheckboxSelectMultiple)
class Meta:
model = Event
fields = ["category", "tags", "exclude_tags", "status"]