ef968f3673
* 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 |
||
---|---|---|
.github | ||
accounting | ||
api | ||
club | ||
com | ||
core | ||
counter | ||
doc | ||
eboutic | ||
election | ||
forum | ||
galaxy | ||
launderette | ||
locale/fr/LC_MESSAGES | ||
matmat | ||
pedagogy | ||
rootplace | ||
sas | ||
sith | ||
stock | ||
subscription | ||
trombi | ||
.coveragerc | ||
.envrc | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
.readthedocs.yml | ||
CONTRIBUTING.rst | ||
LICENSE | ||
manage.py | ||
poetry.lock | ||
pyproject.toml | ||
README.md |
This is the source code of the UTBM's student association available at https://ae.utbm.fr/.
All documentation is in the docs
directory and online at https://sith-ae.readthedocs.io/. This documentation is written in French because it targets a French audience and it's too much work to maintain two versions. The code and code comments are strictly written in English.
If you want to contribute, here's how we recommend to read the docs:
-
First, it's advised to read the about part of the project to understand the goals and the mindset of the current and previous maintainers and know what to expect to learn.
-
If in the first part you realize that you need more background about what we use, we provide some links to tutorials and documentation at the end of our documentation. Feel free to use it and complete it with what you found helpful.
-
Keep in mind that this documentation is thought to be read in order.
This project is licensed under GNU GPL, see the LICENSE file at the top of the repository for more details.