def delete_item(request, item_id): return delete_site_object(request, Item, item_id, 'dashboard_menu')
def delete_img(request, img_id): return delete_site_object(request, ItemImage, img_id, "dashboard_img_list")
def delete_section(request, section_id): return delete_site_object(request, Section, section_id, 'dashboard_menu')
def publish_delete(request, release_id): KeyChain.news.invalidate(request.site.id) return delete_site_object(request, Release, release_id, 'dashboard_publish')
def delete_pdf(request, pdf_id): return delete_site_object(request, PdfMenu, pdf_id, "dashboard_pdf_list")
def delete_img(request, img_id): return delete_site_object(request, ItemImage, img_id, 'dashboard_img_list')
def delete_coupon(request, coupon_id): return delete_site_object(request, Coupon, coupon_id, 'dashboard_marketing')
def delete_pdf(request, pdf_id): return delete_site_object(request, PdfMenu, pdf_id, 'dashboard_pdf_list')