Unable to resolve localized URLs
Created by: osspull
Hi there, been trying for a while now to get allianceauth building in a docker container. I'm there and it all seems to be running, but I'm hitting 404 errors trying to get to the dashboard.
Enabling debug, I can see the following error.
Using the URLconf defined in alliance_auth.urls, Django tried these URL patterns, in this order:
^i18n/
^admin/
^$ [name='auth_index']
^logout_user/ [name='auth_logout_user']
^main_character_change/(\w+)/$ [name='auth_main_character_change']
^activate_forum/$ [name='auth_activate_forum']
^deactivate_forum/$ [name='auth_deactivate_forum']
^reset_forum_password/$ [name='auth_reset_forum_password']
^set_forum_password/$ [name='auth_set_forum_password']
^activate_jabber/$ [name='auth_activate_jabber']
^deactivate_jabber/$ [name='auth_deactivate_jabber']
^reset_jabber_password/$ [name='auth_reset_jabber_password']
^activate_mumble/$ [name='auth_activate_mumble']
^deactivate_mumble/$ [name='auth_deactivate_mumble']
^reset_mumble_password/$ [name='auth_reset_mumble_password']
^set_mumble_password/$ [name='auth_set_mumble_password']
^activate_ipboard/$ [name='auth_activate_ipboard']
^deactivate_ipboard/$ [name='auth_deactivate_ipboard']
^reset_ipboard_password/$ [name='auth_reset_ipboard_password']
^set_ipboard_password/$ [name='auth_set_ipboard_password']
^activate_xenforo/$ [name='auth_activate_xenforo']
^deactivate_xenforo/$ [name='auth_deactivate_xenforo']
^reset_xenforo_password/$ [name='auth_reset_xenforo_password']
^set_xenforo_password/$ [name='auth_set_xenforo_password']
^activate_teamspeak3/$ [name='auth_activate_teamspeak3']
^deactivate_teamspeak3/$ [name='auth_deactivate_teamspeak3']
reset_teamspeak3_perm/$ [name='auth_reset_teamspeak3_perm']
^activate_discord/$ [name='auth_activate_discord']
^deactivate_discord/$ [name='auth_deactivate_discord']
^reset_discord/$ [name='auth_reset_discord']
^discord_callback/$ [name='auth_discord_callback']
^discord_add_bot/$ [name='auth_discord_add_bot']
^activate_discourse/$ [name='auth_activate_discourse']
^deactivate_discourse/$ [name='auth_deactivate_discourse']
^activate_ips4/$ [name='auth_activate_ips4']
^deactivate_ips4/$ [name='auth_deactivate_ips4']
^reset_ips4_password/$ [name='auth_reset_ips4_password']
^set_ips4_password/$ [name='auth_set_ips4_password']
^activate_smf/$ [name='auth_activate_smf']
^deactivate_smf/$ [name='auth_deactivate_smf']
^reset_smf_password/$ [name='auth_reset_smf_password']
^set_smf_password/$ [name='auth_set_smf_password']
^activate_market/$ [name='auth_activate_market']
^deactivate_market/$ [name='auth_deactivate_market']
^reset_market_password/$ [name='auth_reset_market_password']
^set_market_password/$ [name='auth_set_market_password']
^activate_pathfinder/$ [name='auth_activate_pathfinder']
^deactivate_pathfinder/$ [name='auth_deactivate_pathfinder']
^reset_pathfinder_password/$ [name='auth_reset_pathfinder_password']
^set_pathfinder_password/$ [name='auth_set_pathfinder_password']
^srp_fleet_remove/(\w+)$ [name='auth_srp_fleet_remove']
^srp_fleet_disable/(\w+)$ [name='auth_srp_fleet_disable']
^srp_fleet_enable/(\w+)$ [name='auth_srp_fleet_enable']
^srp_fleet_mark_completed/(\w+) [name='auth_srp_fleet_mark_completed']
^srp_fleet_mark_uncompleted/(\w+) [name='auth_srp_fleet_mark_uncompleted']
^srp_request_remove/(\w+) [name='auth_srp_request_remove']
srp_request_approve/(\w+) [name='auth_srp_request_approve']
srp_request_reject/(\w+) [name='auth_srp_request_reject']
^remove_notifications/(\w+)/$ [name='auth_remove_notification']
^en-us/
The current URL, dashboard/, didn't match any of these.
My urls.py matches the one in master. From the looks of it, it's ignoring all of the url entries which were recently wrapped up in the i18_patterns block with the recent change to add German translations. #406
Unfortunately I've not used Django before and whilst I'm learning it I have no idea how to fix this one. Can anyone help?