Beispiel #1
0
def purge_site(environment):
    remove_site_task.apply_async(args=(site_by_name(environment.site_name),))
    return jsonify({'success': 'Multisite environment {} purged.'
                    .format(environment.site_name)})
Beispiel #2
0
 def delete_model(self, site):
     remove_site_task.apply_async(args=(site,))
     return True