diff --git a/.gitignore b/.gitignore
index bdac4f8..9c35e69 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,8 +7,8 @@ site-*.conf
run_8180.py
.env
alembic.ini
-venv/
-venv-*/
+venv
+venv-*
.venv
env
diff --git a/README.md b/README.md
index b9d20e8..941565a 100644
--- a/README.md
+++ b/README.md
@@ -20,7 +20,7 @@ suitable as a community or team knowledge base.
## Requirements
+ **Python** 3.6+.
-+ **Flask** web framework (and Flask-Login / Flask-WTF extensions).
++ **Flask** web framework (and Flask-Login / Flask-WTF / Flask-Arrest extensions).
+ **Peewee** ORM.
+ **Markdown** for page rendering.
+ **Python-I18n**.
diff --git a/app.py b/app.py
index eec7bd5..ac847bb 100644
--- a/app.py
+++ b/app.py
@@ -17,6 +17,7 @@ from flask import (
render_template, send_from_directory)
from flask_login import LoginManager, login_user, logout_user, current_user, login_required
from flask_wtf import CSRFProtect
+#from flask_arrest import RestBlueprint, serialize_response
from werkzeug.security import generate_password_hash, check_password_hash
from werkzeug.routing import BaseConverter
from peewee import *
@@ -46,9 +47,9 @@ PING_RE = r'(?{0}').format(x),
'app_version': __version__,
- 'material_icons_url': _getconf('site', 'material_icons_url')
+ 'material_icons_url': _getconf('site', 'material_icons_url'),
+ 'min': min
}
@login_manager.user_loader
diff --git a/requirements.txt b/requirements.txt
index 18bfb00..b498231 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -3,4 +3,6 @@ peewee
markdown
flask-login
flask-wtf
-python-i18n
\ No newline at end of file
+python-i18n
+flask-arrest
+python-dotenv
diff --git a/templates/base.jinja2 b/templates/base.jinja2
index 512e33b..18890f4 100644
--- a/templates/base.jinja2
+++ b/templates/base.jinja2
@@ -13,8 +13,11 @@
{% endif %}
{% block json_info %}{% endblock %}
+ {% block ldjson %}{% endblock %}
-
+