summaryrefslogtreecommitdiff
path: root/main/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'main/models.py')
-rw-r--r--main/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/models.py b/main/models.py
index 9156fb51..cefebf76 100644
--- a/main/models.py
+++ b/main/models.py
@@ -6,7 +6,6 @@ from django.forms import ValidationError
from .fields import PositiveBigIntegerField, PGPKeyField
from .utils import cache_function, make_choice, set_created_field
-from packages.models import PackageRelation
from datetime import datetime
from itertools import groupby
@@ -193,6 +192,7 @@ class Package(models.Model):
@property
def maintainers(self):
+ from packages.models import PackageRelation
if self._maintainers is None:
self._maintainers = User.objects.filter(
package_relations__pkgbase=self.pkgbase,