~homeworkprod/byceps-bungalows

356189141cc610258419f51605f000da251bdca4 — Jochen Kupperschmidt 3 months ago dc3a0c3
Do not 404 on bungalow's party ID
1 files changed, 1 insertions(+), 1 deletions(-)

M byceps/blueprints/admin/bungalow/views.py
M byceps/blueprints/admin/bungalow/views.py => byceps/blueprints/admin/bungalow/views.py +1 -1
@@ 308,7 308,7 @@ def offer_view(bungalow_id):
    """Show offered bungalow."""
    bungalow = _get_bungalow_or_404(bungalow_id)

    party = _get_party_or_404(bungalow.party_id)
    party = party_service.get_party(bungalow.party_id)

    occupancy = bungalow_occupancy_service.find_occupancy_for_bungalow(
        bungalow.id