Hi I am following the python tutorial. Everything was fine until I
created the template.
Here is my index.html file

<html>
  <body>
    {% for greeting in greetings %}
      {% if greeting.author %}
        <b>{{ greeting.author.nickname }}</b> wrote:
      {% else %}
       An anonymous person wrote:
      {% endif %}
      <blockquote>{{ greeting.content|escape }}</blockquote>
    {% endfor %}

    <form action="/sign" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></
div>
      <div><input type="submit" value="Sign Guestbook"></div>
    </form>

    <a href="{{ url }}">{{ url_linktext }}</a>

  </body>
</html>

http://localhost:8081/ displays this  (what am I doing wrong?)

<html>
  <body>


    <form action="/sign" method="post">
      <div><textarea name="content" rows="3" cols="60"></textarea></
div>
      <div><input type="submit" value="Sign Guestbook"></div>
    </form>

    <a href="/_ah/login?continue=http%3A//localhost%3A8081/">Login</a>

  </body>
</html>

thanks,
Virender

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to