Hey and thanks for the help that I get on here. This might seem
simple, but I can make sure that the User name and password matches
but after loging in I would like them to see there info and filter the
db and then display records.
I login with this view:
def login(request):
username = request.POST['username']
password = request.POST['password']
user = auth.authenticate(username=username, password=password)
auth.login(request, user)
if request.user.is_authenticated():
login(request, user)
else:
return render_to_response('index.html')
-------------------------------------------------------------------------------
I looked around and found get_full_name(), but where and how do I use
it. furthermore, how do I refer to fields or where do I put code to
display it?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---