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

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

src/f/r/freenas-serviio-HEAD/nanobsd/plugins/serviio_pbi/resources/serviioUI/freenas/views.py   freenas-serviio(Download)
        serviio.save()
    except IndexError:
        serviio = models.Serviio.objects.create(enable=True)
 
    try:
        serviio.save()
    except IndexError:
        serviio = models.Serviio.objects.create(enable=False)
 
    try:
        serviio = models.Serviio.objects.order_by('-id')[0]
    except IndexError:
        serviio = models.Serviio.objects.create()
 
    try: