mirror of
https://github.com/pretix/pretix.git
synced 2026-04-25 23:42:32 +00:00
Correctly set region on organizer profile page
This commit is contained in:
@@ -169,6 +169,9 @@ def _detect_event(request, require_live=True, require_plugin=None):
|
||||
for receiver, response in process_request.send(request.event, request=request):
|
||||
if response:
|
||||
return response
|
||||
elif hasattr(request, 'organizer'):
|
||||
# Restrict locales to the ones available for this organizer
|
||||
LocaleMiddleware().process_request(request)
|
||||
|
||||
except Event.DoesNotExist:
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user