<s> from django import forms <EOL> from olympia . amo . helpers import absolutify <EOL> from olympia . translations . helpers import truncate <EOL> class ShareForm ( forms . Form ) : <EOL> """<STR_LIT>""" <EOL> title = forms . CharField ( ) <EOL> url = forms . CharField ( ) <EOL> description = forms . CharField ( required = False ) <EOL> def clean_url ( self ) : <EOL> return absolutify ( self . cleaned_data . get ( '<STR_LIT:url>' ) ) <EOL> def clean_description ( self ) : <EOL> return truncate ( self . cleaned_data . get ( '<STR_LIT:description>' , '<STR_LIT>' ) , <NUM_LIT> ) </s>
