On 13 oct, 23:14, KillaBee <[EMAIL PROTECTED]> wrote: (snip) > > I creted the url strucure like I want it ,and the user was add to the > url.
Nope. The user *id*. > How can I just display it on a page. I was thinking that I was > not login in cerrectlly, but only on the login can I use the auth > info. I want to display the user info and filter the db records with > it. > If I could just display the username, I could do the rest. please > help..... Once you get the user id in your view's params, you just have to query the User model to get the corresponding user record. This should be pretty obvious if you had read the FineManual(tm). from django.contrib.auth.models import User def myview(request, user_id, date): user = User.objects.get(pk=user_id) # your code here... Now please do yourself a favour and *go read that manual now*. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---