Commit 68797f9c authored by Arkadiusz Hiler's avatar Arkadiusz Hiler
Browse files

Remove use_for_related_fields



use_for_related_fields is gone in newer Django

We don't seem to use the manager on related fields anyway, so we are
good to remove it.
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
parent b5a0632f
...@@ -278,8 +278,6 @@ class PatchQuerySet(models.query.QuerySet): ...@@ -278,8 +278,6 @@ class PatchQuerySet(models.query.QuerySet):
class PatchManager(models.Manager): class PatchManager(models.Manager):
use_for_related_fields = True
def get_queryset(self): def get_queryset(self):
return PatchQuerySet(self.model, using=self.db) return PatchQuerySet(self.model, using=self.db)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment