Re: Admin why deleting related(null=True) objects?

2009-10-16 Thread x_O
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

Admin why deleting related(null=True) objects?

2009-10-07 Thread x_O
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

Re: Split models.py to smaller parts.

2009-05-21 Thread x_O
/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-

Split models.py to smaller parts.

2009-04-20 Thread x_O
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 --~--~-~--~~~---~--~---

django.test HTTP/XMLRPC Testing with use of settings.TEST_DATABASE_NAME

2009-02-26 Thread 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