The view is very straightforward, so I can't understand where I'm going
wrong.
from django.contrib.auth import logout, authenticate, login
def logout(request):
logout(request) # debug shows it fails on this line
return render_to_response('promotions.html')
(r'accounts/logout/$', 'django.contrib.auth.views.logout',
{'template_name': 'cdbauth/logged_out.tmpl'}),
Given you don't do anything extra in your logout view, I think you
could do the same, just replace the first parameter with your own
chosen logout url and the last one with your template name?
Karen
p.s. Is google groups acting up? I just got a bunch of old mails
(like this one), and my first attempt to post this via the groups
page gave me an "oops, we're sorry, can't do, please try again later"
kind of message? (Gah, as did my 2nd....I'll try again with real mail...)
MerMer