On 6 Nov, 11:56, Daniel Roseman <[EMAIL PROTECTED]> wrote:
> On Nov 6, 10:25 am, gv <[EMAIL PROTECTED]> wrote:
>
> Well, you don't appear to have any foreign keys linking Backup and
> Server. You'd need something like this in your Backup declaration:
>
> server = models.ForeignKey('Server')
Thanks - should have added that I have already tried that, but if I do
I get:
OperationalError: (1054, "Unknown column 'backup.server_id' in 'field
list'")
I get this not only in my view, but also in the 'Backup' part of the
Admin. I guess I should stick with the ForeignKey, and try to solve
the Unknown column - problem.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---