def create_archived_outbound(self, date, filename):
        """
        Creates the required ArchivedOutbound entry with the file specified
        at `filename`
        """
        with open(filename, "rb") as f:
            f = File(f)
            ArchivedOutbounds.objects.create(date=date, archive=f)
def create_archived_outbound ( self , date , filename ) : with open ( filename , "rb" ) as f : f = File ( f ) ArchivedOutbounds . objects . create ( date = date , archive = f )
Creates the required ArchivedOutbound entry with the file specified
        at `filename`