is behavior potentially catastrophic, so I wrote an
> > intermediate model base class that clears all nullable foreign keys
> > before deleting an object:
>
> >http://www.djangosnippets.org/snippets/1231/
>
> > Note that this probably won't stop the admin app f
ribute should remove it, by why when it is null=True?
In my interpretation of that should just leave First object with
'second_item' = None.
x_O
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users&qu
/appname/models/one.py", line 2, in
from two import ModelTwo
File "/.../appname/distmodels/models/two.py", line 2, in
from one import ModelOne
ImportError: cannot import name ModelOne
Regards
x_O
On 3 Maj, 19:48, Malcolm Tredinnick wrote:
> On Sun, 2009-05-
y solution using 'string' to
import definition in related fields.
http://docs.djangoproject.com/en/dev/ref/models/fields/#module-django.db.models.fields.related
but in current case its useless.
Any idea how to win with that problem?
x_O
--~--~-~--~~~---~--~---
ME. So the result will be always failed.
Any ideas for some smart solution for this kind of cases.
x_O
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
5 matches
Mail list logo