[Fixed]-How do you use select_related for a model method in a Django template?

1👍

No, it’s not possible to use select_related in the model method. By the time method has been called, the topic has already been fetched from the database, so it is too late to use select_related.

Leave a comment