agree create 3

This commit is contained in:
H.T. Kruitbosch 2018-05-04 16:49:41 +02:00
parent 909d232480
commit 36dcc0445b

View File

@ -54,7 +54,7 @@ def gdpr_create_agree(request):
request.session['samlPersoonsgegevensHash'] = sha256.hexdigest()
request.user.delete()
form = GDPRAgreeCreate(defaults={'data': data})
form = GDPRAgreeCreate(initial={'data': data})
return render(request, 'rugwebsite/gdpr.html', {'created': True, 'shownav': True, 'form': form})