Hi, everyone.
In the first place, I will login to access a web page by my "usename"
When I signed in, how to send my "username" into a parmaeter in the
views.py
@login_required
def new_page(request):
#how to get the username?
form = newForm()
variables = RequestContext(request, {'form': form})
return render_to_response('new_page.html', variables)
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" 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/django-users?hl=en.