Re: Ticket #7539 (ON DELETE support) in Django 1.2?

2009-08-16 Thread Martin Maney
On Sat, Aug 15, 2009 at 10:45:44AM -0700, hcarvalhoalves wrote: > ForeignKey(..., propagate_on_delete=True) > CASCADE > > ForeignKey(..., propagate_on_delete=False, null=False) > RESTRICT > > ForeignKey(..., propagate_on_delete=False, null=True) > SET NULL > > ForeignKey(..., propagate_on_delet

Re: Ticket #7539 (ON DELETE support) in Django 1.2?

2009-08-16 Thread Russell Keith-Magee
On Sun, Aug 16, 2009 at 12:31 PM, hcarvalhoalves wrote: > > On Aug 15, 8:53 pm, Russell Keith-Magee > wrote: >> On Sun, Aug 16, 2009 at 1:45 AM, hcarvalhoalves >> wrote: >> >> > On Aug 14, 11:48 pm, Russell Keith-Magee >> > wrote: >> >> On Sat, Aug 15, 2009 at 8:09 AM, hcarvalhoalves >> >> wro

Re: FileStorage and folders

2009-08-16 Thread Marty Alchin
Alexey wrote: > I wonder, why is there no folder creation functions in Storage and > FileStorage classes? Because none of Django's features really required it. > I ask this not because I don't know how to create it mysef. I'm just > curios, why there are only one function for working with folder

FileStorage and folders

2009-08-16 Thread Alexey
Hi. I wonder, why is there no folder creation functions in Storage and FileStorage classes? I ask this not because I don't know how to create it mysef. I'm just curios, why there are only one function for working with folders -- listdir()? As for me, function mkdir() should be there. --~--~-