DEV Community

Jay Z
Jay Z

Posted on

Django: Don't put default sorting in the model

Or you will get stuck in the query for objects once the number of records become large. Even with return limit such as .first() it would take forever to run

Top comments (0)