From 6b2d3fa43966fa547f7c9838f99d498e3ec729fc Mon Sep 17 00:00:00 2001 From: Daniel Tsvetkov Date: Mon, 13 Jul 2020 10:38:29 +0200 Subject: [PATCH] added pagination macro --- oshipka.sh | 1 + oshipka/webapp/templates/_macros.html | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 oshipka/webapp/templates/_macros.html diff --git a/oshipka.sh b/oshipka.sh index 468dbb3..925df66 100755 --- a/oshipka.sh +++ b/oshipka.sh @@ -271,6 +271,7 @@ db_migrate() { db_upgrade() { shift source venv/bin/activate + mkdir -p data python manager.py db upgrade } diff --git a/oshipka/webapp/templates/_macros.html b/oshipka/webapp/templates/_macros.html new file mode 100644 index 0000000..75964ac --- /dev/null +++ b/oshipka/webapp/templates/_macros.html @@ -0,0 +1,15 @@ +{% macro render_pagination(pagination, endpoint) %} + +{% endmacro %} \ No newline at end of file