> nav.models.manage.MultipleObjectsReturned: get() returned more than one NetboxType -- it returned 2! Lookup parameters were {'pk': 98}
That looks pretty f-ed up.
This is a lookup into the "type" database table, using a primary key.
Primary keys must be unique. The table cannot hold two records with the
same primary key unless something has gone seriously wrong with your
database.
What do you get if you connect to the database using psql and issue this
SQL statement:
> nav.models. manage. MultipleObjects Returned: get() returned more than one NetboxType -- it returned 2! Lookup parameters were {'pk': 98}
That looks pretty f-ed up.
This is a lookup into the "type" database table, using a primary key.
Primary keys must be unique. The table cannot hold two records with the
same primary key unless something has gone seriously wrong with your
database.
What do you get if you connect to the database using psql and issue this
SQL statement:
SELECT * FROM type WHERE typeid=98;