Skip to content

Commit 745c31d

Browse files
committed
cleaned up naming conventions
1 parent 52cd9f7 commit 745c31d

File tree

7 files changed

+17
-12
lines changed

7 files changed

+17
-12
lines changed

Pipfile.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
![Pandas](https://img.shields.io/badge/pandas-v0.24.2-blue.svg?longCache=true&logo=python&longCache=true&style=flat-square&logoColor=white&colorB=23a8e2&colorA=36363e)
88
![Dash](https://img.shields.io/badge/dash-v0.40.0-blue.svg?longCache=true&logo=python&longCache=true&style=flat-square&logoColor=white&colorB=23a8e2&colorA=36363e)
99
![Plotly](https://img.shields.io/badge/plotly-v3.7.1-blue.svg?longCache=true&logo=python&longCache=true&style=flat-square&logoColor=white&colorB=23a8e2&colorA=36363e)
10+
![Psycopg2-Binary](https://img.shields.io/badge/Psycopg2--Binary-v2.7.7-red.svg?longCache=true&style=flat-square&logo=PostgreSQL&logoColor=white&colorA=36363e)
11+
![Flask-SQLAlchemy](https://img.shields.io/badge/Flask--SQLAlchemy-2.3.2-red.svg?longCache=true&style=flat-square&logo=scala&logoColor=white&colorA=36363e)
1012
![GitHub Last Commit](https://img.shields.io/github/last-commit/google/skia.svg?style=flat-square&colorA=36363e)
1113
[![GitHub Issues](https://img.shields.io/github/issues/toddbirchard/plotlydash-flask-tutorial.svg?style=flat-square&colorA=36363e)](https://github.com/toddbirchard/plotlydash-flask-tutorial/issues)
1214
[![GitHub Stars](https://img.shields.io/github/stars/toddbirchard/plotlydash-flask-tutorial.svg?style=flat-square&colorB=e3bb18&colorA=36363e)](https://github.com/toddbirchard/plotlydash-flask-tutorial/stargazers)

application/__init__.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@ def create_app():
99

1010
with app.app_context():
1111

12-
# Construct the data set
12+
# Import main Blueprint
1313
from . import routes
14-
from Dash_App import dash_example
15-
app = dash_example.Add_Dash(app)
1614
app.register_blueprint(routes.main_bp)
1715

16+
# Import Dash application
17+
from .dash_application import dash_example
18+
app = dash_example.Add_Dash(app)
19+
1820
return app
File renamed without changes.

application/static/dist/css/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

application/static/less/table.less

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ html {
66
height: 100% !important;
77
}
88

9-
.dash-container {
9+
#dash-container {
1010
width: 95%;
1111
margin: 100px auto 0;
1212
}
@@ -77,6 +77,7 @@ nav {
7777
.sort {
7878
color: #2b4249 !important;
7979
transition: all .3s ease-out;
80+
order: 2;
8081

8182
&:hover {
8283
cursor: pointer;

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ pandas==0.24.2
2727
pathlib==1.0.1
2828
plotly==3.9.0
2929
ply==3.11
30-
pyrsistent==0.15.1
30+
pyrsistent==0.15.2
3131
python-dateutil==2.8.0
32-
python-dotenv==0.10.1
32+
python-dotenv==0.10.2
3333
pytz==2019.1
3434
requests==2.21.0
3535
retrying==1.3.3

0 commit comments

Comments
 (0)