示例#1
0
def remove_attachments(sender, **kwargs):
    delete_content_attaches(
        'participant_pages',
        str(kwargs['instance'].library_id) + '_' + str(kwargs['instance'].url_path.replace('/', '_')))
    pass
示例#2
0
def remove_attachments(sender, **kwargs):
    delete_content_attaches('participant_events' + str(kwargs['instance'].library_id), str(kwargs['instance'].id))
示例#3
0
def remove_attachments(sender, **kwargs):
    delete_content_attaches('participant_news', str(kwargs['instance'].id))
    pass
示例#4
0
def remove_attachments(sender, **kwargs):
    delete_content_attaches('participant_news', str(kwargs['instance'].id))
    pass