<s> from sellmo import modules <EOL> from sellmo . core . decorators import link <EOL> from django . shortcuts import render <EOL> namespace = modules . account . namespace <EOL> @ chaining . link <EOL> def login ( request , processed , redirection , context , messages , ** kwargs ) : <EOL> messages . transmit ( ) <EOL> if redirection : <EOL> return redirection <EOL> return render ( request , '<STR_LIT>' , context ) <EOL> @ chaining . link <EOL> def profile ( request , context , ** kwargs ) : <EOL> return render ( request , '<STR_LIT>' , context ) <EOL> @ chaining . link <EOL> def order ( request , context , ** kwargs ) : <EOL> return render ( request , '<STR_LIT>' , context ) <EOL> @ chaining . link <EOL> def information_step ( request , context , ** kwargs ) : <EOL> shipping = context [ '<STR_LIT>' ] <EOL> billing = context [ '<STR_LIT>' ] <EOL> same_as_shipping = False <EOL> if not request . method == '<STR_LIT:POST>' : <EOL> same_as_shipping = all ( value == billing . initial [ key ] for <EOL> key , value in shipping . initial . iteritems ( ) <EOL> if not key == '<STR_LIT:id>' ) <EOL> if not same_as_shipping and request . POST . get ( '<STR_LIT>' , '<STR_LIT>' ) == '<STR_LIT:yes>' : <EOL> same_as_shipping = True <EOL> context . update ( { <EOL> '<STR_LIT>' : same_as_shipping <EOL> } ) <EOL> return render ( request , '<STR_LIT>' , context ) </s>
