arnecoomans / camping.cmns.nl

VKNT, a Vacation Management System, is a place to store your possible holiday locations. It is the ideal place to start making plans, sharing and noting down tips.
1 stars 1 forks source link

When adding a new region #198

Closed arnecoomans closed 6 months ago

arnecoomans commented 7 months ago

local variable 'region_slug' referenced before assignment Request Method: POST Request URL: http://camping.cmns.nl/location/add/ Django Version: 4.2.6 Exception Type: UnboundLocalError Exception Value:
local variable 'region_slug' referenced before assignment Exception Location: /data/www/cmns.nl/camping.cmns.nl/location/models/Location.py, line 306, in getRegion

arnecoomans commented 6 months ago

"Did not detect address of Foo Bar so cannot detect region" when adding unknown address

Cannot reproduce for now, should reproduce based on examle data