Hi there,
Thanks for this - it worked :-)
For any who may read this and need a little extra help, the html page
contained:
{% if user.is_authenticated %}
Welcome, {{ user.username }}. Thanks for logging in.
{% else %}
Welcome, new user. Please log in.
{% endif %}
And views.py also nee
Add context_instance=RequestContext(request) to your
render_to_response for your views
render_to_response('mainpage.html', {'stuff' : stuf },
context_instance=RequestContext(request))
On Apr 19, 1:36 pm, chiefmoamba <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am hoping this will be a very simple q
Hello,
I am hoping this will be a very simple question for many of you.
I have built simple Django login function. When I log in, my log in
page will say "Welcome, username" etc. It works beautifully.
However, on subsequent pages, eg /nextpage/ even though I have the
same code in the page, the
3 matches
Mail list logo