Skip to content Skip to sidebar Skip to footer

Relative Import Of A Apackage In Python Flask Application

Trying to make the sample flask application more modular,I am new to python and flask trying to build a sample application where , I have planned to maintain the folder structure

Solution 1:

@dhana lakshmi Check the registered url endpoints in your app. Start Python on the commandline in your project directory and execute the following commands:

>>>import flaskApp >>>app = flaskApp.create_app() >>>app.url_map 

Please add the output to your question

And I really think you need to read up a bit on python and flask first, here is a list with some great resources on flask https://github.com/humiaozuzu/awesome-flask

Post a Comment for "Relative Import Of A Apackage In Python Flask Application"