Sith/club/templates/club
thomas girod ef968f3673
Better usage of cache for groups and clubs related operations (#634)
* Better usage of cache for group retrieval

* Cache clearing on object deletion or update

* replace signals by save and delete override

* add is_anonymous check in is_owned_by

Add in many is_owned_by(self, user) methods that user is not anonymous. Since many of those functions do db queries, this should reduce a little bit the load of the db.

* Stricter usage of User.is_in_group

Constrain the parameters that can be passed to the function to make sure only a str or an int can be used. Also force to explicitly specify if the group id or the group name is used.

* write test and correct bugs

* remove forgotten populate commands

* Correct test
2023-05-02 12:36:59 +02:00
..
club_detail.jinja Better integration of wiki pages on clubs 2017-10-06 11:09:31 +02:00
club_list.jinja Fix for club tools 2017-10-06 11:09:31 +02:00
club_members.jinja Better usage of cache for groups and clubs related operations (#634) 2023-05-02 12:36:59 +02:00
club_old_members.jinja Make sellings for clubs 2016-09-09 16:23:35 +02:00
club_sellings.jinja core/club: allow adding custom js action to pagination link, useful for FormDetailView with pagination 2019-11-28 01:46:41 +01:00
club_tools.jinja Club views and discussions fixes 2017-11-28 15:12:04 +01:00
mailing.jinja Fix tests and broken forms 2022-08-04 17:20:21 +02:00
page_history.jinja Better integration of wiki pages on clubs 2017-10-06 11:09:31 +02:00
pagerev_edit.jinja wiki: remove old markdown preview 2018-12-20 14:32:52 +01:00
stats.jinja Add simple club stats 2017-01-04 17:38:54 +01:00