Skip to content

2.7.6

Choose a tag to compare

@CheeseCake87 CheeseCake87 released this 12 Nov 14:28

New init slim app.

flask-imp init -n app --slim

app/
├── extensions
│   └── __init__.py
│
├── global
│   ├── cli
│   │   └── cli.py
│   ├── error_handlers
│   │   └── error_handlers.py
│   ├── static
│   │   └── favicon.ico
│   └── templates
│       └── errors
│           ├── 400.html
│           ├── 401.html
│           ├── 403.html
│           ├── 404.html
│           ├── 405.html
│           └── 500.html
│
├── www
│   ├── config.toml
│   ├── __init__.py
│   ├── routes
│   │   └── index.py
│   ├── static
│   │   ├── css
│   │   │   └── water.css
│   │   ├── img
│   │   │   └── flask-imp-logo.png
│   │   └── js
│   │       └── main.js
│   └── templates
│       └── www
│           ├── extends
│           │   └── main.html
│           ├── includes
│           │   ├── footer.html
│           │   └── header.html
│           └── index.html
│
├── __init__.py
└── default.config.toml

This deploys a Flask app with only one blueprint, and no models.

This release also sees a new blueprint file structure, seen above.