Model Import Order

8 views
Skip to first unread message

Greg Taylor

unread,
Sep 24, 2009, 3:09:08 PM9/24/09
to Django and EVE Online
I've restored the old wiki page where I had begun to figure out what
order the models would need to be imported in to ensure the least
amount of problems. I'd like to start working on getting this in shape
again. The stuff listed in the top of the list (with numbered bullets)
is in what should be the best order. The stuff below that still needs
to be cut and pasted into the list at the top in the best order.

If you have a moment here and there, take some time to help figure out
the order. If there are two or more tables that depend on each other
and can't be imported without setting some fields to null=True, put a
(nullable: otherTable) next to the table name so we can see the models
that will need to have all fields set blank and/or nullable=True.

Once we get this knocked out, we can have run_importers.py call
individual functions in order instead of the entire module at once.
Reply all
Reply to author
Forward
0 new messages