Re: allow user to update his record

2008-02-02 Thread Carl Karsten

Carl Karsten wrote:
> Carl Karsten wrote:
>> Is there a built in way for users to update their own user record?
>>
>> I currently have a page that displays user data to any other user.  I was 
>> hoping 
>> to re-use that for allowing a user to edit his own.
>>
>> If it matters, I am useing a user_profile as described:
>> http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/
> 
> (12:35:22 AM) ubernostrum: CarlFK: http://code.google.com/p/django-profiles/
> (12:35:47 AM) ubernostrum: CarlFK: I wrote it so you won't have to :)

How do I reference form and profile in my template?

return render_to_response(template_name, { 'form': form, 'profile': 
profile_obj, 
},...

http://code.google.com/p/django-profiles/source/browse/trunk/profiles/views.py#88


Carl K

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Re: allow user to update his record

2008-02-01 Thread Carl Karsten

Carl Karsten wrote:
> Is there a built in way for users to update their own user record?
> 
> I currently have a page that displays user data to any other user.  I was 
> hoping 
> to re-use that for allowing a user to edit his own.
> 
> If it matters, I am useing a user_profile as described:
> http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/

(12:35:22 AM) ubernostrum: CarlFK: http://code.google.com/p/django-profiles/
(12:35:47 AM) ubernostrum: CarlFK: I wrote it so you won't have to :)

thanks uber.

Carl K

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



allow user to update his record

2008-01-31 Thread Carl Karsten

Is there a built in way for users to update their own user record?

I currently have a page that displays user data to any other user.  I was 
hoping 
to re-use that for allowing a user to edit his own.

If it matters, I am useing a user_profile as described:
http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/

Carl K

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---