That's more than I can put in to an email.  And you may need an
authentication system more complex than just adding a line to the yaml

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Matt Wein
Sent: Tuesday, May 17, 2011 11:30 AM
To: [email protected]
Subject: Re: [google-appengine] Comment Box

 

Okay thanks,  but what if I want to make it so when the person clicks the
submit button it then tells them they need to log in?

On Tue, May 17, 2011 at 12:55 PM, Brandon Wirtz <[email protected]> wrote:

App.yaml

 login: required



-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Matt
Sent: Monday, May 16, 2011 5:03 PM
To: Google App Engine
Subject: [google-appengine] Comment Box


Hey, I'm just starting off with my first project and I was wondering if
someone could help me make it so you need to login to submit a comment
rather than just commenting anonymously.

Thanks

Heres the code for my comment box:

<div id="comment-box">

        {% 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 %}

</div>

--
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]
<mailto:google-appengine%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.


--
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]
<mailto:google-appengine%[email protected]> .
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.

 

-- 
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.

-- 
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