Re: Help with profiles

2007-03-06 Thread MattW
Thanks. That clears some stuff up, but not everything. The thing I'm still _really_ unclear on is how one adds a profile. So to go back to the code below: > > @login_required > > def viewprofile(request): > > uname = request.user.username > > try: > > profile = request.user.get_p

Re: Help with profiles

2007-03-05 Thread limodou
On 3/6/07, MattW <[EMAIL PROTECTED]> wrote: > > Dear All, > > I've upgraded to the svn code, but I'm still having problems with user > profiles. > > I've got a method in views.py: > > @login_required > def viewprofile(request): > uname = request.user.username > try: > profile = req

Help with profiles

2007-03-05 Thread MattW
Dear All, I've upgraded to the svn code, but I'm still having problems with user profiles. I've got a method in views.py: @login_required def viewprofile(request): uname = request.user.username try: profile = request.user.get_profile() except User.DoesNotExist: reque