summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-10 18:12:47 -0600
committerDan McGee <dan@archlinux.org>2011-11-10 18:12:47 -0600
commit83feb682c2909cbd8c332a9b16aacbc8d696a13a (patch)
tree87c67ab072f0b66e2e4b8a35d135ba0a88813faa
parentd80f4236d01f70380f71a46dd98f1f789d91d31c (diff)
Move package views into subdirectory
This simply moves views.py to views/__init__.py and adjusts the imports accordingly; future patches will split this into multiple files as this module is getting quite large. Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--packages/views/__init__.py (renamed from packages/views.py)5
1 files changed, 3 insertions, 2 deletions
diff --git a/packages/views.py b/packages/views/__init__.py
index cac5d076..7b8e4847 100644
--- a/packages/views.py
+++ b/packages/views/__init__.py
@@ -27,8 +27,9 @@ from urllib import urlencode
from main.models import Package, PackageFile, Arch, Repo
from main.utils import make_choice
from mirrors.models import MirrorUrl
-from .models import PackageRelation, PackageGroup, SignoffSpecification, Signoff
-from .utils import (get_group_info, get_differences_info,
+from ..models import (PackageRelation, PackageGroup,
+ SignoffSpecification, Signoff)
+from ..utils import (get_group_info, get_differences_info,
get_wrong_permissions, get_signoff_groups, approved_by_signoffs,
PackageSignoffGroup)