summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-12-08 21:39:30 +0100
committerDan McGee <dan@archlinux.org>2011-12-08 22:02:11 +0100
commit3e094a548f409e4a87454764f6baf814464d9619 (patch)
tree1a40ef41ca8fb3042effc11a5b8e2450c061a065 /main
parenta2317295bb4b8c52a83c9a70263fcc9cc73621f4 (diff)
downloadarchweb-3e094a548f409e4a87454764f6baf814464d9619.tar.gz
archweb-3e094a548f409e4a87454764f6baf814464d9619.tar.xz
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 9156fb5..cefebf7 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,