FIX add
This commit is contained in:
parent
96261bfa95
commit
9d07653817
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def rapporto_edit_redirect(request, pk):
|
|||
def rapporto_add(request):
|
||||
user = User.objects.filter(is_superuser=True).first()
|
||||
r = RapportoRicezione(
|
||||
author=user,
|
||||
author=request.user,
|
||||
lat=float(request.POST["lat"]),
|
||||
lng=float(request.POST["lng"]),
|
||||
comprensibile=int(request.POST["comprensibile"]),
|
||||
|
|
Loading…
Reference in a new issue