<s> from django . db import models <EOL> from django . utils . translation import ugettext_lazy as _ <EOL> import django_anysign <EOL> class SignatureType ( django_anysign . SignatureType ) : <EOL> docusign_template_id = models . CharField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> max_length = <NUM_LIT> , <EOL> blank = True , <EOL> ) <EOL> class Signature ( django_anysign . SignatureFactory ( SignatureType ) ) : <EOL> document = models . FileField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> upload_to = '<STR_LIT>' , <EOL> blank = True , <EOL> null = True , <EOL> ) <EOL> document_title = models . CharField ( <EOL> _ ( '<STR_LIT:title>' ) , <EOL> max_length = <NUM_LIT:100> , <EOL> blank = True , <EOL> default = u'<STR_LIT>' , <EOL> ) <EOL> status = models . CharField ( <EOL> _ ( '<STR_LIT:status>' ) , <EOL> max_length = <NUM_LIT:50> , <EOL> db_index = True , <EOL> choices = ( <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ) , <EOL> default = '<STR_LIT>' , <EOL> ) <EOL> status_datetime = models . DateTimeField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> auto_now_add = True , <EOL> ) <EOL> def signature_documents ( self ) : <EOL> """<STR_LIT>""" <EOL> self . document . open ( ) <EOL> self . document . bytes = self . document <EOL> yield self . document <EOL> class Signer ( django_anysign . SignerFactory ( Signature ) ) : <EOL> full_name = models . CharField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> max_length = <NUM_LIT:50> , <EOL> db_index = True , <EOL> ) <EOL> email = models . EmailField ( <EOL> _ ( '<STR_LIT:email>' ) , <EOL> db_index = True , <EOL> ) <EOL> status = models . CharField ( <EOL> _ ( '<STR_LIT:status>' ) , <EOL> max_length = <NUM_LIT:50> , <EOL> db_index = True , <EOL> choices = ( <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ( '<STR_LIT>' , _ ( '<STR_LIT>' ) ) , <EOL> ) , <EOL> default = '<STR_LIT>' , <EOL> ) <EOL> status_datetime = models . DateTimeField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> auto_now_add = True , <EOL> ) <EOL> status_details = models . CharField ( <EOL> _ ( '<STR_LIT>' ) , <EOL> max_length = <NUM_LIT> , <EOL> blank = True , <EOL> ) </s>
