The Agregator wrote:
[...]
> CustomerID = models.ForeignKey(Customer)
> The problem is that I want it to say something else, like "Customer
> Name"
Try with
CustomerID = models.ForeignKey(Customer, verbose_name="Customer Name")
HTH,
--
Fabio Natali
--~--~-~--~~-
Worked like a charm
Thanks
On Mon, Dec 1, 2008 at 1:50 PM, Fabio Natali <[EMAIL PROTECTED]>wrote:
>
> The Agregator wrote:
> [...]
> > CustomerID = models.ForeignKey(Customer)
>
> > The problem is that I want it to say something else, like "Customer
> > Name"
>
> Try with
>
> Customer
Hi
I'm new here - in Django and python, more of a Php and wordpress
myself.
anyway - here is my question, hope someone knows the answer.
I have 2 classes - components and customers. every component has a
field that says whos the related customer. like this:
class Component(models.Model):
#
3 matches
Mail list logo