Nebojša Đorđević wrote:
> When I have models like this:
>
Well, from [2457] in m-r branch django has a transaction support so I suppose
that this question is now irrelevant.
--
Nebojša Đorđević - nesh
Studio Quattro - Niš - SCG
http://studioquattro.biz/
http://djnesh.blogspot.com/ | http://
When I have models like this:
class Foo(meta.Model)
...
class Bar(meta.Model):
foos = meta.ManyToManyField(Foo)
class Baz(meta.Model)
bar = meta.ForeignKey(Bar, edit_inline=True)
object creation will go something like this:
obj = Bar(...)
obj.save() # a must, or below cod