sushy/models.py
def delete_wiki_page(page):
    """Deletes all the entries for a page"""
    with db.atomic():
        try:
            FTSPage.delete().where(FTSPage.page == page).execute()
            Page.delete().where(Page.name == page).execute()
            Link.delete().where(Link.page == page).execute()
        except Exception as e:
            log.warn(e)
Deletes all the entries for a page
Deletes all the entries for a page
Deletes all the entries for a page
def delete_wiki_page(page):
    with db.atomic():
        try:
            FTSPage.delete().where(FTSPage.page == page).execute()
            Page.delete().where(Page.name == page).execute()
            Link.delete().where(Link.page == page).execute()
        except Exception as e:
            log.warn(e)
def delete_wiki_page ( page ) : with db . atomic ( ) : try : FTSPage . delete ( ) . where ( FTSPage . page == page ) . execute ( ) Page . delete ( ) . where ( Page . name == page ) . execute ( ) Link . delete ( ) . where ( Link . page == page ) . execute ( ) except Exception as e : log . warn ( e )
Deletes all the entries for a page
Deletes all the entries for a page
"""Deletes all the entries for a page"""
page