Open dbrgn opened 10 years ago
https://github.com/tnc-ba/strongTNC/commit/74190119c542bbdd538c737855fdb878d279056a#apps-swid-views-py-P8
When loading tags without accessing the tag xml field, we should defer loading of that field.
This can be done with defer(). Or if we query the model often, we could even create a separate unmanaged model (see defer documentation for more details).
https://github.com/tnc-ba/strongTNC/commit/74190119c542bbdd538c737855fdb878d279056a#apps-swid-views-py-P8
When loading tags without accessing the tag xml field, we should defer loading of that field.
This can be done with defer(). Or if we query the model often, we could even create a separate unmanaged model (see defer documentation for more details).