|
|
@@ -68,11 +68,6 @@ def welcome(request):
|
|
|
|
|
|
if request.method == 'POST':
|
|
|
print('qualcuno ha premuto un tasto')
|
|
|
-
|
|
|
- print("***********")
|
|
|
- print(request.POST)
|
|
|
- print("***********")
|
|
|
-
|
|
|
if 'indietro' in request.POST:
|
|
|
return HttpResponseRedirect(reverse("azienda:welcome"))
|
|
|
|
|
|
@@ -85,8 +80,6 @@ def welcome(request):
|
|
|
|
|
|
if "UTENTE.CREA" in data['permesso']:
|
|
|
if 'CaricaIndice' in request.POST:
|
|
|
- print('request',request.POST)
|
|
|
- print('files',request.FILES)
|
|
|
fileindicecaricato = formIndiceUpload(request.POST,request.FILES)
|
|
|
print(fileindicecaricato)
|
|
|
if fileindicecaricato.is_valid():
|
|
|
@@ -406,9 +399,7 @@ def updatePasswordFromLogin(request,uuid):
|
|
|
print('uuid',uuid)
|
|
|
|
|
|
if request.method == 'POST':
|
|
|
- print("***********")
|
|
|
- print(request.POST)
|
|
|
- print("***********")
|
|
|
+ print('updatePasswordFromLogin: un tasto è stato premuto')
|
|
|
formupdatepasswordlogin = formUpdatePasswordLogin(request.POST)
|
|
|
if formupdatepasswordlogin.is_valid():
|
|
|
cfisc = formupdatepasswordlogin.cleaned_data.get('cfisc')
|
|
|
@@ -500,7 +491,7 @@ def forceUpdatePassword(request,uuid):
|
|
|
print('uuid',uuid)
|
|
|
|
|
|
if request.method == 'POST':
|
|
|
- print(request.POST)
|
|
|
+ print('forceUpdatePassword: un tasto è stato premuto')
|
|
|
formupdatepasswordlogin = formUpdatePasswordPrimoLogin(request.POST)
|
|
|
if formupdatepasswordlogin.is_valid():
|
|
|
cfisc = formupdatepasswordlogin.cleaned_data.get('cfisc')
|