automatic reload on lists; new django decorator for ajax request
Change-Id: I3eb41de76217191268acb6053ad0c04aec0e8388
Signed-off-by: lombardofr <lombardo@everyup.it>
diff --git a/projecthandler/views.py b/projecthandler/views.py
index 0f4248a..06b4770 100644
--- a/projecthandler/views.py
+++ b/projecthandler/views.py
@@ -18,7 +18,7 @@
import logging
import yaml
-from django.contrib.auth.decorators import login_required
+from sf_t3d.decorators import login_required
from django.http import HttpResponse, JsonResponse
from django.shortcuts import render, redirect
@@ -64,7 +64,6 @@
},'projectlist.html')
-
def open_composer(request):
user = osmutils.get_user(request)
project_id = user.project_id