Maybe it has something to do with the fact that once you start iterating
through a query set it gets evaluated[1]. If you slice a query set before it
gets evaluated that is different than slicing a query set after it gets
evaluated. I'm not exactly sure why you're getting different results but
Hello,
my first post here.
I've been poking at this duplicate result thing
and it's come down to maybe a fundamental what-does-django-do question:
class Medium(models.Model):
artifact = models.ForeignKey('Artifact', on_delete=models.PROTECT)
class Artifact(models.Model):
def get_mediu
2 matches
Mail list logo