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

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

src/d/j/django-oscar-HEAD/oscar/apps/offer/custom.py   django-oscar(Download)
    }
    try:
        obj = Range.objects.get(**values)
    except Range.DoesNotExist:
        obj = Range(**values)

src/d/j/django-oscar-0.7/oscar/apps/offer/custom.py   django-oscar(Download)
    }
    try:
        obj = Range.objects.get(**values)
    except Range.DoesNotExist:
        obj = Range(**values)