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
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
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
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.
>
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
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
6 matches
Mail list logo