On 6 Nov, 12:33, "Alex Koshelev" <[EMAIL PROTECTED]> wrote: > If you have `serverid` field in database so you can add reference with > custom column name [1]. For example: > > server = models.ForeignKey(Server, db-column="serverid") > > [1]:http://docs.djangoproject.com/en/dev/ref/models/fields/#db-column >
Thank you - that solved it! (using db_column) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

