def country_delete(id): result = Country.delete(id) if result: flash('Country deleted successfully!!!') return redirect(url_for('country'))
from models.area import Area from models.country import Country country = Country() country.delete(8)
def country_delete(id): result = Country.delete(id) if result: flash('Country deleted successfully!!!') return redirect(url_for('country'))
from models.area import Area from models.country import Country country = Country() country.delete(8)