0
Can we import blueprint object from another python flask file?
I created a blueprint object and want to use this in another file so to avoid large number of routes in single file but this is not working for me. Help me
1 Answer
0
try to encapsule the object blueprint in a pickle object (you need to import pickle and copy from google the load and save functions) you can put the blueprint object in a list of 1 element for example and save as a pickle item, and in other scripts load this pickle objects