<s> import tempfile <EOL> from django . db import models <EOL> class Photo ( models . Model ) : <EOL> title = models . CharField ( maxlength = <NUM_LIT:30> ) <EOL> image = models . FileField ( upload_to = tempfile . gettempdir ( ) ) <EOL> def __init__ ( self , * args , ** kwargs ) : <EOL> super ( Photo , self ) . __init__ ( * args , ** kwargs ) <EOL> self . _savecount = <NUM_LIT:0> <EOL> def save ( self ) : <EOL> super ( Photo , self ) . save ( ) <EOL> self . _savecount += <NUM_LIT:1> </s>
