Hi,

I'm using appengine_django.auth for an app I'm working on. In order to
set up user authentication, I followed the documentation found here:

http://www.pragmaquest.com/tutorials/django-user-authentication-google-app-engine

Everything works find using the SDK's dev server. However, when it's
uploaded to appspot, I get an error page with

Exception Type: TemplateSyntaxError at /skills/
Exception Value: Invalid block tag: 'auth_login_url'

Clearly, the template tags auth_login_url and auth_logout_url are not
getting registered, but I'm not sure why. The relevant portion of my
template is:

        {% if user.is_authenticated %}
          <a href="{% auth_login_url /skills/profile/ %}">Sign in</a>
        {% else %}
          <a href="{% auth_logout_url /skills/ %}">Sign out</a>
        {% endif %}

The code in app engine helper that seems relevant is here:

http://code.google.com/p/google-app-engine-django/source/browse/trunk/appengine_django/auth/__init__.py?

I'm really stumped here, and would appreciate any advice.

Thanks,

-Bobby

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