aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvolpino <fox91@anche.no>2012-11-02 17:33:00 +0100
committervolpino <fox91@anche.no>2012-11-02 20:15:51 +0100
commitc31076ddb4cc790fc69dde45f89aeaee3cb583ef (patch)
tree53d108c87e39a48a2bd3d7cfcbbe0846ca5dfdc7 /euscanwww/djeuscan/tasks.py
parenteuscanwww: removed useless 'print' (diff)
downloadeuscan-c31076ddb4cc790fc69dde45f89aeaee3cb583ef.tar.gz
euscan-c31076ddb4cc790fc69dde45f89aeaee3cb583ef.tar.bz2
euscan-c31076ddb4cc790fc69dde45f89aeaee3cb583ef.zip
euscanwww: Moving all account related stuff to a separate app
Note: This commit could break things, the userprofile model has been moved so the db layout must change (some alter table commands are needed to don't lose data) Signed-off-by: volpino <fox91@anche.no>
Diffstat (limited to 'euscanwww/djeuscan/tasks.py')
-rw-r--r--euscanwww/djeuscan/tasks.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/euscanwww/djeuscan/tasks.py b/euscanwww/djeuscan/tasks.py
index 769e4af..b0b4413 100644
--- a/euscanwww/djeuscan/tasks.py
+++ b/euscanwww/djeuscan/tasks.py
@@ -15,10 +15,11 @@ from django.db.models import Q
from euscan.version import gentoo_unstable
-from djeuscan.models import Package, RefreshPackageQuery, UserProfile, \
- VersionLog
+from djeuscan.models import Package, RefreshPackageQuery, VersionLog
from djeuscan.processing import scan, misc
-from djeuscan.helpers import get_account_versionlogs, get_user_fav_infos
+
+from euscan_accounts.helpers import get_account_versionlogs, get_user_fav_infos
+from euscan_accounts.models import UserProfile
class TaskFailedException(Exception):