Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
Thank you. I tried your first suggestion and it works great. Thanks so much for your help. On Sunday, April 7, 2013 9:22:08 PM UTC-4, Drew Ferguson wrote: > > On Sun, 7 Apr 2013 18:15:32 -0700 (PDT) > frocco > wrote: > > > Thanks Drew, > > > > I am trying your second suggestion. > > > > Bu

Re: How do I have company display in admin drop down box?

2013-04-07 Thread Drew Ferguson
On Sun, 7 Apr 2013 18:15:32 -0700 (PDT) frocco wrote: > Thanks Drew, > > I am trying your second suggestion. > > But it is complaining not found for UserProfile > > On Sunday, April 7, 2013 8:41:46 PM UTC-4, Drew Ferguson wrote: > > > > On Sun, 7 Apr 2013 17:01:52 -0700 (PDT) > > frocco > wro

Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
Thanks Drew, I am trying your second suggestion. But it is complaining not found for UserProfile On Sunday, April 7, 2013 8:41:46 PM UTC-4, Drew Ferguson wrote: > > On Sun, 7 Apr 2013 17:01:52 -0700 (PDT) > frocco > wrote: > > > I have a model that references User and on the admin page, it sho

Re: How do I have company display in admin drop down box?

2013-04-07 Thread Drew Ferguson
On Sun, 7 Apr 2013 17:01:52 -0700 (PDT) frocco wrote: > I have a model that references User and on the admin page, it shows the > user name. > I have the User tied to a UserProfile model that has a field called > company. > > I want the drop down on my Pricing Model to show company, not user. >

Re: How do I have company display in admin drop down box?

2013-04-07 Thread frocco
Here is my Pricing model: in my settings.py I have AUTH_PROFILE_MODULE = 'userprofile' class Pricing(models.Model): name = models.CharField(max_length=255, unique=False, default='Special Pricing', help_text='You do not have to change this') user = models.Foreig

How do I have company display in admin drop down box?

2013-04-07 Thread frocco
I have a model that references User and on the admin page, it shows the user name. I have the User tied to a UserProfile model that has a field called company. I want the drop down on my Pricing Model to show company, not user. user = models.ForeignKey(User) -- You received this message becaus