X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Fhomeview.py;h=6d33d0ef797e6d2bbe481aadd3b1c3db36e47b82;hb=92620bf17c60377b7d156a6edf2c6a3077dd2745;hp=b722b29777e10cf40d6096f9327e720549d02df5;hpb=8e18c9ff4a961c70f897ca3915959d2fa3f7fb38;p=myslice.git diff --git a/portal/homeview.py b/portal/homeview.py index b722b297..6d33d0ef 100644 --- a/portal/homeview.py +++ b/portal/homeview.py @@ -1,4 +1,5 @@ -from __future__ import print_function +import time +import json # this somehow is not used anymore - should it not be ? from django.core.context_processors import csrf @@ -8,22 +9,20 @@ from django.template import RequestContext from django.shortcuts import render_to_response from django.shortcuts import render - from unfold.loginrequired import FreeAccessView +from ui.topmenu import topmenu_items, the_user from manifold.core.query import Query from manifoldapi.manifoldapi import execute_query - from manifoldapi.manifoldresult import ManifoldResult -from ui.topmenu import topmenu_items, the_user -from myslice.configengine import ConfigEngine +from myslice.configengine import ConfigEngine from myslice.theme import ThemeView + from portal.account import Account, get_expiration from portal.models import PendingSlice from portal.actions import authority_check_pis -import json, time import activity.user class HomeView (FreeAccessView, ThemeView):