Permalink
Browse files

Removed list.html from readme.

  • Loading branch information...
1 parent 67d2242 commit 017f2896a32526ca896e10ab416ad33b994894fb Justin Sanders committed Apr 14, 2010
Showing with 2 additions and 23 deletions.
  1. +2 −23 README.textile
View
25 README.textile
@@ -1,6 +1,6 @@
"Flask":http://flask.pocoo.org/ is a micro framework for python. I wanted to create a simple example using Flask on "Google App Engine":http://appengine.google.com so I created this todo list app.
-You can try it out for yourself at "flasktodo.appspot.com":http://flasktodo.appspot.com. To give you an idea of how simple coding in a micro framework can be I've included all the code below.
+You can try it out for yourself at "flasktodo.appspot.com":http://flasktodo.appspot.com. To give you an idea of how simple coding in a micro framework can be I've included the code below.
p. application.py
@@ -64,25 +64,4 @@ def task_done(id):
app.secret_key = 'the secret key'
if __name__ == '__main__':
- app.run()
-
-
-p. list.html
-
-bc.. <!doctype html>
-Welcome, {{ user.nickname() }} <a href="{{ logout_url }}">sign out</a>
-
-<ul>
-{% for task in tasks %}
- <li><a href="/done/{{ task.key().id() }}">X</a> {% if task.done %}<strike>{% endif %}{{ task.name }}{% if task.done %}</strike>{% endif %} <a href="/delete/{{ task.key().id() }}">delete</a></li>
-{% endfor %}
-</ul>
-
-{% for flash in flashes %}
- <p>{{ flash }}</p>
-{% endfor %}
-
-<form action="" method="post">
- <p><input type=text name=name>
- <input type=submit value=Add>
-</form>
+ app.run()

0 comments on commit 017f289

Please sign in to comment.