X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Fplatformsview.py;h=0a6677e345c8f68946c872f4d4b64f65bf5947d1;hp=0a1e9ad31267b75a697a7a77282236fe3ea3479e;hb=9d9c9d79c1bb1b54d1c402a7f4c0b895e294e5ef;hpb=320db1473d91bc245f58a1b9b4f3514549236fb4 diff --git a/portal/platformsview.py b/portal/platformsview.py index 0a1e9ad3..0a6677e3 100644 --- a/portal/platformsview.py +++ b/portal/platformsview.py @@ -1,14 +1,13 @@ -from django.views.generic.base import TemplateView - from manifold.core.query import Query from unfold.page import Page +from unfold.loginrequired import FreeAccessView from ui.topmenu import topmenu_items, the_user from plugins.hazelnut import Hazelnut # View for platforms -class PlatformsView(TemplateView): +class PlatformsView(FreeAccessView): template_name = "platforms.html" def get_context_data(self, **kwargs):