From ae7441f4c3b6a8ab8fa74f76fbf36f7068943056 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Sun, 18 Sep 2016 19:41:51 +0200 Subject: [PATCH 1/4] Update README.org --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 2861eb2..2b75564 100644 --- a/README.org +++ b/README.org @@ -1,6 +1,6 @@ * PyConES16: Flask-note (Clone of Evernote with Flask and Markdown) -** [[https://flasknote.fenollosa.work][DEMO]] +** [[http://flask-note.programadorwebvalencia.com/][DEMO]] #+CAPTION: Flask-note #+NAME: Flask-note From b7f7812295db42d236c43e151643296a1e7400fe Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Thu, 22 Sep 2016 11:47:34 +0200 Subject: [PATCH 2/4] Update README.org --- README.org | 1 + 1 file changed, 1 insertion(+) diff --git a/README.org b/README.org index 2b75564..167fa21 100644 --- a/README.org +++ b/README.org @@ -45,6 +45,7 @@ Create *app.py* #+BEGIN_SRC python from flask import Flask +from functools import wraps app = Flask(__name__) def login_required(f): From aa414c266708f17686fea9829c8d37b8bdefc728 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Fri, 23 Sep 2016 16:22:53 +0200 Subject: [PATCH 3/4] Add template master.html --- README.org | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.org b/README.org index 167fa21..b495274 100644 --- a/README.org +++ b/README.org @@ -128,3 +128,28 @@ INSERT INTO user VALUES (NULL, 'py@con.es', '2016'); .exit #+END_SRC +Future resource: *master.html* +#+BEGIN_SRC html + + + + + + + Flask-note + + +
+ +
+ {% block contain %} + {% endblock %} +
+
+ + +#+END_SRC From 02066bc93e77b699e7f41846010e829026b5e304 Mon Sep 17 00:00:00 2001 From: Andros Fenollosa Date: Fri, 23 Sep 2016 16:24:01 +0200 Subject: [PATCH 4/4] Update README.org --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index b495274..cd2a7de 100644 --- a/README.org +++ b/README.org @@ -128,7 +128,9 @@ INSERT INTO user VALUES (NULL, 'py@con.es', '2016'); .exit #+END_SRC -Future resource: *master.html* +** Future resource + +*master.html* #+BEGIN_SRC html