<s> from django import forms <EOL> class AllowForm ( forms . Form ) : <EOL> allow = forms . BooleanField ( required = False ) <EOL> redirect_uri = forms . CharField ( widget = forms . HiddenInput ( ) ) <EOL> scope = forms . CharField ( widget = forms . HiddenInput ( ) ) <EOL> client_id = forms . CharField ( widget = forms . HiddenInput ( ) ) <EOL> state = forms . CharField ( required = False , widget = forms . HiddenInput ( ) ) <EOL> response_type = forms . CharField ( widget = forms . HiddenInput ( ) ) <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> data = kwargs . get ( '<STR_LIT:data>' ) <EOL> if data and '<STR_LIT>' in data : <EOL> data [ '<STR_LIT>' ] = data [ '<STR_LIT>' ] <EOL> return super ( AllowForm , self ) . __init__ ( * args , ** kwargs ) </s>
