Did I find the right examples for you? yes no

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

src/d/j/django-lfs-0.7.7/lfs/manage/manufacturers/views.py   django-lfs(Download)
    if request.method == "POST":
        form = ManufacturerDataForm(data=request.POST)
        if form.is_valid():
            new_manufacturer = form.save()
            return HttpResponseRedirect(
    form = ManufacturerDataForm(instance=manufacturer, data=request.POST)
 
    if form.is_valid():
        form.save()
 

src/d/j/django-lfs-HEAD/lfs/manage/manufacturers/views.py   django-lfs(Download)
                                files=request.FILES)
 
    if form.is_valid():
        manufacturer = form.save()
        msg = _(u"Manufacturer data has been saved.")