Implementing a flask plan so that it can be safely mounted multiple times?

The documentation for the flask says:

that you can check in drawings multiple times, although not every project can answer this correctly. It really depends on how the project is being implemented, if it can be installed more than once.

But I can't figure out what needs to be done to safely mount the project more than once.

+3


source to share


1 answer


It is difficult to answer such a question because it is so general.

First, your Blueprint must be implemented in such a way that it makes no assumptions about the state of the application object with which it will register. Second, you want to use a custom url scheme to prevent route conflicts.



There are a lot more nuanced components of this, but without seeing my specific code and problem, it is as specific as it seems to me I can get.

+2


source







All Articles