Skip to content

dumpscript and explicit intermediate join tables #48

@GoogleCodeExporter

Description

@GoogleCodeExporter
The new feature in Django 1.0 that allows explicit intemediate join tables,
and therefore relationship attributes, has a different API to a standard
many to many field.

This means that when dumpscript adds such a line for a Many-to-many field
with intermediate join model:
    my_object.things.add(other_object)
it will fail.

The simple solution is to simply remove this line, because the intermediate
table is a standard table and the relationship objects will be added anyway.

If you can work out which fields require this.

Original issue reported on code.google.com by e.willha...@gmail.com on 13 Sep 2008 at 3:46

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions