flask-navigation
flask-navigation copied to clipboard
hard-coded global
This line of code:
https://github.com/tonyseek/flask-navigation/blob/develop/flask_navigation/api.py#L48
Means that if you name the navigation object something other than nav
it won't work. Similarly, you are limited to only one navigation instance per site.
Specifically, this will work:
nav = Navigation(app)
This will not:
foo = Navigation(app)
This name should probably be configurable. Maybe Navigation(app, instance_id=...)
?