|
|
@@ -16,6 +16,8 @@ from django.db.models import Sum
|
|
|
from django.shortcuts import render
|
|
|
|
|
|
from .models import *
|
|
|
+from .forms import *
|
|
|
+
|
|
|
from config.views import *
|
|
|
from azienda.views import *
|
|
|
from utente.views import *
|
|
|
@@ -138,7 +140,6 @@ def welcome(request):
|
|
|
punto di ingresso.
|
|
|
vengono mostrati tutti i modelli presenti presenti
|
|
|
'''
|
|
|
-
|
|
|
data = dict()
|
|
|
data['HeaderTitle'] = getConfig('HeaderTitle')
|
|
|
|
|
|
@@ -170,6 +171,9 @@ def welcome(request):
|
|
|
|
|
|
if request.method == "POST":
|
|
|
print('Richiesta effettuata')
|
|
|
+ fd = formDocumento(request.POST)
|
|
|
+ if fd.is_valid():
|
|
|
+ print('documento valido')
|
|
|
|
|
|
return render(request,'comunicazione.welcome.html',data)
|
|
|
|