-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.googlemap import GoogleMap
from plugins.slicestat import SliceStat
# View for 1 platform and its details
-class ResourceView(TemplateView):
+class ResourceView(FreeAccessView):
template_name = "resource.html"
def get_context_data(self, **kwargs):