Commit 7b4e11a8 authored by Thom Wiggers's avatar Thom Wiggers 📐
Browse files

Merge branch 'fix/board-events' into 'master'

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

Closes #375

See merge request !430
parents a01b4455 4560ba1a
......@@ -137,6 +137,10 @@ class Board(Committee):
('board_wiki', _("Access the board wiki")),
)
def save(self, *args, **kwargs):
self.active = True
super().save(*args, **kwargs)
def get_absolute_url(self):
return reverse('activemembers:board', args=[str(self.since.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