Esempio n. 1
0
def catch_signal(sender, **kwargs):
    """Function used by syncdb signal"""
    app_name = sender.label.rsplit('.', 1)[0]
    app_label = app_name.split('.')[-1]
    if app_label in PREINDEX_PLUGINS:
        PREINDEX_PLUGINS[app_label].sync_design_docs()
    syncdb(get_app(sender.label), None, **kwargs)
Esempio n. 2
0
def sync_south_app(app, **kwargs):
    syncdb(get_app(app), None, **kwargs)
Esempio n. 3
0
def sync_south_app(app, **kwargs):
    syncdb(get_app(app), None, **kwargs)