def proceed(request):
 if request.user.is_authenticated():
  return submit(request)
 agreement_form = forms.DevAgreementForm({'read_dev_agreement': True}, instance=None, request=request)
 return render(request, 'submit/terms.html', {'step': 'terms', 'agreement_form': agreement_form, 'proceed': True})

def proceed ( request ) : if request . user . is_authenticated ( ) : return submit ( request ) agreement_form = forms . DevAgreementForm ( { 'read_dev_agreement' : True } , instance = None , request = request ) return render ( request , 'submit/terms.html' , { 'step' : 'terms' , 'agreement_form' : agreement_form , 'proceed' : True } )
this is a fake "terms" view that we overlay the login .