Thank you!
On Jan 25, 11:51 am, Sam Lai wrote:
> 2010/1/25 min :
>
> > 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
>
>
2010/1/25 min :
> 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
Look here
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,
3 matches
Mail list logo