Thursday, July 28, 2011

Re: Extending the User form

On 7/29/2011 6:11 AM, sandeep kaur wrote:
> On Thu, Jul 28, 2011 at 4:39 PM, Sheogora<trudicavanagh@hotmail.com> wrote:
>> I have extended the User Profile by adding my own field,
>> how do I change the New user form in the admin, to show the new field?
>>
> This can be done by simply adding your new field in list display under
> User Profile of admin.py file. And by doing this you will get your new
> field in admin.
>
did you extend the profile using the mechanism described here:
http://www.kolios.dk/2010/01/22/how-to-extend-django-user-class-and-change-authentication-middleware/comment-page-1/#comment-521
where a new User is defined to replace the existing one and the backend
auth modified
Or did you use another method ?

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment