1
0
mirror of https://github.com/Damillora/Altessimo synced 2024-11-23 22:27:32 +00:00

manohoops

This commit is contained in:
Damillora 2020-12-17 20:27:03 +07:00
parent 2cc9a7bd31
commit 986d0ee869

View File

@ -20,7 +20,7 @@ class CategoryManager(models.Manager):
final_ids.append(obj.id)
qs = self.get_queryset().filter(id__in=final_ids).distinct()
return qs
return self.none()
return self.none()
class Category(models.Model):
name = models.CharField(max_length=255)