Browse Source

Modifiche di cui verrà eseguito il commit:
modificato: azienda/views.py

mauro 1 năm trước cách đây
mục cha
commit
326754bc68
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      azienda/views.py

+ 1 - 2
azienda/views.py

@@ -24,11 +24,10 @@ def welcome(request):
   data['listaAttivita']=getLogxAmministrazione(u)
 
   if request.method=="POST":
+
     if 'ritorna' in request.POST:
       print('premuto tast ritorno,logout')
       return HttpResponseRedirect(reverse("login:start"))
-    if 'documenti' in request.POST:
-      return HttpResponseRedirect(reverse("documento:welcome"))
 
     if  "utenti" in request.POST:
       print('premuto tasto utenti')