It's not Django, it's me.

Between the caffeine and lack of sleep and looming deadline, skimming
the Django documentation led me to believe that you attach foreign keys
like so:

a = aClass()
b = add_aClass(a)

where is I should have been saying:

a = aClass(b_id=b.id)

Unless there is another way to add foreign keys?

Thanks,

jtm

Reply via email to