On Tue, Jun 2, 2009 at 4:56 PM, David <ww...@yahoo.com> wrote:

>
> Hello,
>
> I added a "telephone_number = models.CharField(max_length=15)" in the
> "User" class in Django-1.0.2-final/django/contrib/auth/models.py.  Now
> I need to add/update telephone numbers  on admin page. Which file
> should I configure so that I can see this "telephone_number" on the
> admin page?
>
> Can anybody give me a suggestion? Thanks a lot.
> >
>
This isn't really the right way to extend the django user model:
http://www.b-list.org/weblog/2006/jun/06/django-tips-extending-user-model/.
 However, if you insist on doing it this way you would need to alter
the
admin.py file in the same directory.

Alex

-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." --Voltaire
"The people's good is the highest law."--Cicero

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

Reply via email to