Rex Dri issueshttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues2019-03-10T20:11:59Zhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/55Store information related to the number of versions and if some moderation is...2019-03-10T20:11:59ZFlorent ChehabStore information related to the number of versions and if some moderation is pending in the modelsObjectives: reduce the number of requests to the DB.
How to: Add fields to the models and compute the value on model update (don't compute it on model display)Objectives: reduce the number of requests to the DB.
How to: Add fields to the models and compute the value on model update (don't compute it on model display)Florent ChehabFlorent Chehabhttps://gitlab.utc.fr/rex-dri/rex-dri/-/issues/54Performance optimization with request.user2019-03-10T20:12:00ZFlorent ChehabPerformance optimization with request.userThe `user` from the request class in Django is used in multiple locations. It seems that this result in an outrageous number of requests to the DB.
We need to look into storing all the user attribute in the request and making use of the...The `user` from the request class in Django is used in multiple locations. It seems that this result in an outrageous number of requests to the DB.
We need to look into storing all the user attribute in the request and making use of these new attributes through the backend to optimize performance a bit.Florent ChehabFlorent Chehab