-1

Now, I have a project source code, and in this project there is a statement:

APP = Flask(__name__, static_folder='../statics')

Where is the folder '../statics'?

John R
  • 1,505
  • 10
  • 18
cleverlzc
  • 40
  • 7

1 Answers1

2

In Flask the static folder is usually placed (also by default) in the root path of the application and it is named as "static".

It looks that in your project your static folder is placed in the parent directory of your application directory and it is named as "statics"

You will find more information about the applications parameters here.

To know more about the static folder you can also check this documentation.

Martin Alonso
  • 726
  • 2
  • 9
  • 16