Skip to content

Commit 658a81b

Browse files
authored
Merge pull request #379 from PanderMusubi/serve_exaples_locally
serve examples locally for faster and offline development
2 parents c7b935f + cdbcd2a commit 658a81b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

CHANGES.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
Changelog
22
=========
33

4-
- Fixed typo in Bootstrap in code and CHANGES.rst.
54
- Upgrade to Bootstrap Icons 1.11.3.
65

7-
86
2.4.1
97
-----
108

examples/bootstrap4/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
1515
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:'
1616

17+
# serve locally for faster and offline development
18+
app.config['BOOTSTRAP_SERVE_LOCAL'] = True
19+
1720
# set default button sytle and size, will be overwritten by macro parameters
1821
app.config['BOOTSTRAP_BTN_STYLE'] = 'primary'
1922
app.config['BOOTSTRAP_BTN_SIZE'] = 'sm'

examples/bootstrap5/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
1515
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///:memory:'
1616

17+
# serve locally for faster and offline development
18+
app.config['BOOTSTRAP_SERVE_LOCAL'] = True
19+
1720
# set default button sytle and size, will be overwritten by macro parameters
1821
app.config['BOOTSTRAP_BTN_STYLE'] = 'primary'
1922
app.config['BOOTSTRAP_BTN_SIZE'] = 'sm'

0 commit comments

Comments
 (0)