[Python] FLASK entender a documentação

Discussão em 'Python' iniciado por Stack, Janeiro 8, 2025.

  1. Stack

    Stack Membro Participativo

    O flask possui alguma estrutura padrão de pastas, tipos de arquivos e funções?

    Por exemplo esse esquema de pastas é padrão para qualquer projeto ou é um modelo simplificado?


    home/user/Projects/flask-tutorial
    ├── flaskr/
    │ ├── __init__.py
    │ ├── db.py
    │ ├── schema.sql
    │ ├── auth.py
    │ ├── blog.py
    │ ├── templates/
    │ │ ├── base.html
    │ │ ├── auth/
    │ │ │ ├── login.html
    │ │ │ └── register.html
    │ │ └── blog/
    │ │ ├── create.html
    │ │ ├── index.html
    │ │ └── update.html
    │ └── static/
    │ └── style.css
    ├── tests/
    │ ├── conftest.py
    │ ├── data.sql
    │ ├── test_factory.py
    │ ├── test_db.py
    │ ├── test_auth.py
    │ └── test_blog.py
    ├── venv/
    ├── setup.py
    └── MANIFEST.in

    Continue reading...

Compartilhe esta Página