mirror of
https://github.com/Damillora/Altessimo
synced 2024-11-24 06:37:33 +00:00
manohoops
This commit is contained in:
parent
2cc9a7bd31
commit
986d0ee869
@ -20,7 +20,7 @@ class CategoryManager(models.Manager):
|
|||||||
final_ids.append(obj.id)
|
final_ids.append(obj.id)
|
||||||
qs = self.get_queryset().filter(id__in=final_ids).distinct()
|
qs = self.get_queryset().filter(id__in=final_ids).distinct()
|
||||||
return qs
|
return qs
|
||||||
return self.none()
|
return self.none()
|
||||||
|
|
||||||
class Category(models.Model):
|
class Category(models.Model):
|
||||||
name = models.CharField(max_length=255)
|
name = models.CharField(max_length=255)
|
||||||
|
Loading…
Reference in New Issue
Block a user