Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/f/u/func-shell-1.4/examples/fsh_query.py   func-shell(Download)
        servers = Server.objects.filter(**{attr: eval(val)})
    elif op == '!=':
        servers = Server.objects.exclude(**{attr: eval(val)})
    elif op == '=~':
        servers = Server.objects.filter(**{attr + '__regex': val})
    elif op == '!~':
        servers = Server.objects.exclude(**{attr + '__regex': val})

src/f/u/func-shell-HEAD/examples/fsh_query.py   func-shell(Download)
        servers = Server.objects.filter(**{attr: eval(val)})
    elif op == '!=':
        servers = Server.objects.exclude(**{attr: eval(val)})
    elif op == '=~':
        servers = Server.objects.filter(**{attr + '__regex': val})
    elif op == '!~':
        servers = Server.objects.exclude(**{attr + '__regex': val})