summaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-11 01:12:47 +0100
committerDan McGee <dan@archlinux.org>2011-11-11 01:12:47 +0100
commit83feb682c2909cbd8c332a9b16aacbc8d696a13a (patch)
tree87c67ab072f0b66e2e4b8a35d135ba0a88813faa /packages
parentd80f4236d01f70380f71a46dd98f1f789d91d31c (diff)
downloadarchweb-83feb682c2909cbd8c332a9b16aacbc8d696a13a.tar.gz
archweb-83feb682c2909cbd8c332a9b16aacbc8d696a13a.tar.xz
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>
Diffstat (limited to 'packages')
-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 cac5d07..7b8e484 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)