|
|
@@ -37,7 +37,7 @@ def welcome(request):
|
|
|
#data['admin'] = User.objects.get(pk=data['AdminId']) che non so a che cazzo serve
|
|
|
|
|
|
data['azienda'] = Azienda.objects.get(pk=data['AziendaId'])
|
|
|
- data['utenti'] = data['azienda'].utente_set.all()
|
|
|
+ data['utenti'] = data['azienda'].utente_set.all().order_by('nome')
|
|
|
|
|
|
if request.method == 'POST':
|
|
|
print('qualcuno ha premuto un tasto')
|