⬅︎ Back to Django ORM optimization story on selecting the least possible
That is no different. Just styled differently.
I came to say the same; at the very least this would be much cleaner. ``` def f4(a): names = Song.objects.filter(artist=a).values_list("name", flat=True): return hashlib.md5("".join(list(names)).encode("utf-8")).hexdigest() ```
Comment
That is no different. Just styled differently.
Parent comment
I came to say the same; at the very least this would be much cleaner. ``` def f4(a): names = Song.objects.filter(artist=a).values_list("name", flat=True): return hashlib.md5("".join(list(names)).encode("utf-8")).hexdigest() ```