Re: Django UserProfile's - the hardest part of the whole framework

2010-11-21 Thread Rogério Carrasqueira
Hi, I liked your example, but I'd like to do on a single funcion at my view. On you example your steps are going to to work two functions: a profile created (not described) and a profile_edit. So, my intention is make everything on a one single function using the max powerful DRY concept of Django

Re: Django UserProfile's - the hardest part of the whole framework

2010-08-31 Thread bruno desthuilliers
(snip 'programming by accident' code) I'm not sure you really understand what you're doing :-/ > > > Here's my problem, I know you don't get direct access to the user > > > model, > > > Yes you do. > > > > so making the user email editable is kind of tricky > > > Why so ? > > you can't query for

Re: Django UserProfile's - the hardest part of the whole framework

2010-08-31 Thread reduxdj
Here's my problem, I have successfully got the user to update his/her email. However, I can not figure out why my imageField for my profile is not updating, neither the copying of the file or the image path is adding to my user profile table. I have included the mimetype on my form. I've done this

Re: Django UserProfile's - the hardest part of the whole framework

2010-08-31 Thread bruno desthuilliers
On 31 août, 06:16, reduxdj wrote: > So, I'm still newer to django. I have user registration, > authentication, imagefields, filters, and more all built into my > application and working. So now, I need a user to be able to edit his > own email and upload an image to the user_profile. First, I am u

Django UserProfile's - the hardest part of the whole framework

2010-08-30 Thread reduxdj
So, I'm still newer to django. I have user registration, authentication, imagefields, filters, and more all built into my application and working. So now, I need a user to be able to edit his own email and upload an image to the user_profile. First, I am using RegistrationProfile for the django reg