Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(8)

Delta Between Two Patch Sets: appengine_django/auth/__init__.py

Issue 908: [issue6] Google's Users API Integration (Closed) SVN Base: http://google-app-engine-django.googlecode.com/svn/trunk/
Left Patch Set: Doc tests Created 4 months, 3 weeks ago
Right Patch Set: DjangoUserModel, better helpers integration for authentication Created 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
LEFTRIGHT
1 # Copyright 2008 Google Inc. 1 # Copyright 2008 Google Inc.
2 # 2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); 3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License. 4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at 5 # You may obtain a copy of the License at
6 # 6 #
7 # http://www.apache.org/licenses/LICENSE-2.0 7 # http://www.apache.org/licenses/LICENSE-2.0
8 # 8 #
9 # Unless required by applicable law or agreed to in writing, software 9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS, 10 # distributed under the License is distributed on an "AS IS" BASIS,
(...skipping 66 matching lines...) Show 10 above Show 10 below
77 """ 77 """
78 bits = list(token.split_contents()) 78 bits = list(token.split_contents())
79 if len(bits) == 2: 79 if len(bits) == 2:
80 redirect = bits[1] 80 redirect = bits[1]
81 else: 81 else:
82 redirect = "/" 82 redirect = "/"
83 login = bits[0] == "auth_login_url" 83 login = bits[0] == "auth_login_url"
84 return AuthLoginUrlsNode(login, redirect) 84 return AuthLoginUrlsNode(login, redirect)
85 register.tag("auth_login_url", auth_login_urls) 85 register.tag("auth_login_url", auth_login_urls)
86 register.tag("auth_logout_url", auth_login_urls) 86 register.tag("auth_logout_url", auth_login_urls)
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld r338