Did I find the right examples for you? yes no

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

src/d/j/django-lfs-0.7.7/lfs/manage/categories/category.py   django-lfs(Download)
 
            # Update positions
            manage_utils.update_category_positions(parent)
            url = reverse("lfs_manage_category", kwargs={"category_id": new_category.id})
            return HttpResponseRedirect(url)
    parent = category.parent
    category.delete()
    manage_utils.update_category_positions(parent)
 
    url = reverse("lfs_manage_categories")

src/d/j/django-lfs-HEAD/lfs/manage/categories/category.py   django-lfs(Download)
 
            # Update positions
            manage_utils.update_category_positions(parent)
            url = reverse("lfs_manage_category", kwargs={"category_id": new_category.id})
            return HttpResponseRedirect(url)
    parent = category.parent
    category.delete()
    manage_utils.update_category_positions(parent)
 
    url = reverse("lfs_manage_categories")

src/l/f/lfs-HEAD/manage/views/categories/category.py   lfs(Download)
 
            # Update positions
            manage_utils.update_category_positions(parent)
            url = reverse("lfs_manage_category", kwargs={"category_id" : new_category.id})
            return HttpResponseRedirect(url)
 
        if parent_category is not None:
            manage_utils.update_category_positions(parent_category)
 
    return HttpResponse("")