Re: Extending the User form

2011-07-28 Thread sandeep kaur
On Thu, Jul 28, 2011 at 4:39 PM, Sheogora  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.

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



Re: Extending the User form

2011-07-28 Thread Gmail - neonmark

On 7/29/2011 6:11 AM, sandeep kaur wrote:

On Thu, Jul 28, 2011 at 4:39 PM, Sheogora  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+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Extending the User form

2011-08-02 Thread Sheogora
please see this discussion
http://groups.google.com/group/django-users/browse_thread/thread/143942b9002c1468/c4fbf04d75471fbf?lnk=gst&q=Shegoroa#c4fbf04d75471fbf
I made two by accident and marked this for removing, but they didn't
for some reason.
I updated it with a new post, which should show up soon.

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