summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-08 14:39:30 -0600
committerDan McGee <dan@archlinux.org>2011-12-08 15:02:11 -0600
commit3e094a548f409e4a87454764f6baf814464d9619 (patch)
tree1a40ef41ca8fb3042effc11a5b8e2450c061a065 /main
parenta2317295bb4b8c52a83c9a70263fcc9cc73621f4 (diff)
Add a new FlagRequest model
This will be used to store all of the submitted data we get via flag out of date forms on the website. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-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,