示例#1
0
def delete_item(request, item_id):
    return delete_site_object(request, Item, item_id, 'dashboard_menu')
示例#2
0
def delete_img(request, img_id):
    return delete_site_object(request, ItemImage, img_id, "dashboard_img_list")
示例#3
0
def delete_section(request, section_id):
    return delete_site_object(request, Section, section_id, 'dashboard_menu')
示例#4
0
def publish_delete(request, release_id):
    KeyChain.news.invalidate(request.site.id)
    return delete_site_object(request, Release, release_id,
                              'dashboard_publish')
示例#5
0
def delete_pdf(request, pdf_id):
    return delete_site_object(request, PdfMenu, pdf_id, "dashboard_pdf_list")
示例#6
0
文件: views.py 项目: tonomuniz/tiger
def delete_img(request, img_id):
    return delete_site_object(request, ItemImage, img_id, 'dashboard_img_list')
示例#7
0
def delete_coupon(request, coupon_id):
    return delete_site_object(request, Coupon, coupon_id,
                              'dashboard_marketing')
示例#8
0
文件: views.py 项目: tonomuniz/tiger
def delete_pdf(request, pdf_id):
    return delete_site_object(request, PdfMenu, pdf_id, 'dashboard_pdf_list')
示例#9
0
def delete_item(request, item_id):
    return delete_site_object(request, Item, item_id, 'dashboard_menu')
示例#10
0
def delete_section(request, section_id):
    return delete_site_object(request, Section, section_id, 'dashboard_menu')
示例#11
0
def publish_delete(request, release_id):
    KeyChain.news.invalidate(request.site.id)
    return delete_site_object(request, Release, release_id, 'dashboard_publish')
示例#12
0
def delete_coupon(request, coupon_id):
    return delete_site_object(request, Coupon, coupon_id, 'dashboard_marketing')