Verified Commit 4560ba1a authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Make sure boards are always active so that they can create events etc

parent 280153a4
...@@ -137,6 +137,10 @@ class Board(Committee): ...@@ -137,6 +137,10 @@ class Board(Committee):
('board_wiki', _("Access the board wiki")), ('board_wiki', _("Access the board wiki")),
) )
def save(self, *args, **kwargs):
self.active = True
super().save(*args, **kwargs)
def get_absolute_url(self): def get_absolute_url(self):
return reverse('activemembers:board', args=[str(self.since.year), return reverse('activemembers:board', args=[str(self.since.year),
str(self.until.year)]) str(self.until.year)])
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment