hitrust / google-app-engine-django

Automatically exported from code.google.com/p/google-app-engine-django
Apache License 2.0
0 stars 0 forks source link

auth_logout_url tag doesn't automatically load #160

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a project using django 1.1.1 and google-app-enginge-django
2. Create a simple controller that points to a template
3. Set login required for the url that points to that controller. 
4. In the template add the auth_logout_url tag. 

What is the expected output? What do you see instead?
You expect to see a logout url. Instead you get and error : 

"Invalid block tag: 'auth_logout_url'"

What version of the product are you using? On what operating system?

Please provide any additional information below.

I believe the problem is that the InstallAppengineHelperForDjango function
does not import  appengine_django.auth.templatetags 

Adding 
<code> from appengine_django.auth import templatetags <code> to the
controller, main.py, or the install function seems to fix the problem.

Original issue reported on code.google.com by kramacha...@gmail.com on 10 Feb 2010 at 2:53