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

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

src/m/o/moztrap-HEAD/moztrap/model/core/management/commands/import.py   moztrap(Download)
 
        try:
            product = Product.objects.get(name=args[0])
        except Product.DoesNotExist:
            raise CommandError('Product "{0}" does not exist'.format(args[0]))