diff --git a/ctp_blogr.sqlite b/ctp_blogr.sqlite index 911bbd1..ebcae1b 100644 Binary files a/ctp_blogr.sqlite and b/ctp_blogr.sqlite differ diff --git a/ctp_blogr/static/theme.css b/ctp_blogr/static/theme.css index 07cd62b..671b4c4 100644 --- a/ctp_blogr/static/theme.css +++ b/ctp_blogr/static/theme.css @@ -72,6 +72,9 @@ h5 { border: none; border-radius: 0; } +.monospace-font { + font-family: Monaco, "Courier New", Courier, monospace; +} .thumbnail p { margin-top: 15px; color: #555; diff --git a/ctp_blogr/templates/blog_edit.jinja2 b/ctp_blogr/templates/blog_edit.jinja2 index 464ab02..7069f9f 100644 --- a/ctp_blogr/templates/blog_edit.jinja2 +++ b/ctp_blogr/templates/blog_edit.jinja2 @@ -16,7 +16,7 @@ {% endfor %}
- {{ form.body(class_='form-control', cols="35", rows="20") }} + {{ form.body(class_='form-control monospace-font', cols="35", rows="20") }}
diff --git a/setup.py b/setup.py index 65f1bef..c873e1d 100644 --- a/setup.py +++ b/setup.py @@ -18,13 +18,15 @@ requires = [ 'pyramid_retry', 'pyramid_layout', 'pyramid_tm', - 'SQLAlchemy', + 'SQLAlchemy==1.4.49', 'transaction', 'zope.sqlalchemy', 'wtforms', # form library 2.2.1 'webhelpers2', # various web building related helpers 2.0 'passlib', + 'python-magic', 'markdown', + 'urllib3==1.26', 'yfinance', ]