[Answer]-Sort results fetched from models related with Foreign Key 20 December 2023 by thecoderscamp.com 1👍 ✅ You need to use the double-underscore syntax: .order_by('user__username') 👤Daniel Roseman [Answer]-Mezzanine ImportError when running tests Source:stackexchange.com