code: def get_random(self):
          
          Statement = self.get_model('statement')
  
          statement = Statement.objects.order_by('?').first()
  
          if statement is None:
              raise self.EmptyDatabaseException()
  
          return statement
docs: Returns a random statement from the database