Open tarik56 opened 4 years ago
Hi @tarik56, thanks for pointing out the issue. I was able to reproduce it. You are right about the config link, it only changes the path prefix, not the name of the actual blueprint. At the moment, there's no way around this, but as far as I can tell, the problem is caused by hardcoding "dashboard" in the templates. This should be made configurable.
Hello,
I'm getting a blueprint name collision error.
That's true because I have a route called "dashboard" already, but I changed the custom route link as described in the documentation as:
my init looks as follows:
When I try to change the blueprint names myself like:
it seems to be working but when I call
localhost/monitoring/
I'm getting a:werkzeug.routing.BuildError: Could not build url for endpoint 'dashboard.index'. Did you mean 'dashboard.get_users_increase' instead?
Edit: I just realized the custom link gets appended behind the dashboard url. That doesn't change the blueprints name though since it is hardcoded. So a Blueprint name collision is inevitable unless I decide to change my blueprint name etc.....
Edit2: I run into other issues when forcing a different blueprint name. I guess that's because the name "dashboard" is deeply reserved in its roots within the module code?? Is there a solution without having to change my already existing dashboard blueprint?