modified: make_post_sell/views/shop_location.py

This commit is contained in:
Russell Ballestrini 2024-06-09 16:34:31 -04:00
parent 6706223f17
commit b4698efb99

View file

@ -11,7 +11,7 @@ def checkbox_to_bool(checkbox):
def bool_to_checkbox(boolean):
return "on" if boolean == True else "off"
return "on" if boolean else "off"
@view_config(route_name="shop_location_new", renderer="shop_location_form.j2")
@ -164,7 +164,6 @@ def shop_location_edit(request):
@view_config(route_name="shop_locations", renderer="shop_locations.j2")
# @shop_owner_required()
def shop_locations(request):
return {
"shop": request.shop,