Skip to content
Snippets Groups Projects

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

Merged Ghost User requested to merge fix/board-events into master
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
@@ -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)])
Loading