Re: inspectdb throws "_mysql_exceptions.Warning: Can't read dir of './test/' (errno: 13)"

2009-11-27 Thread NicoEchániz
h root:root privileges instead of mysql:mysql. Changing that, solved the problem. It had nothing to do with inspectdb or Django whatsoever, but the Warning was preventing inspectdb from working correctly. cheers, NicoEchániz -- You received this message because you are subscribed to the Google

Re: custom form problem...

2009-05-06 Thread NicoEchániz
On May 6, 10:47 am, NicoEchániz wrote: > On May 6, 8:57 am, Daniel Roseman > wrote: > > On May 6, 5:26 am, NicoEchániz wrote: > > > Hello, > > > > I have a model which has a ForeignKey to itself. I'm doing this to > > > represent

Re: custom form problem...

2009-05-06 Thread NicoEchániz
On May 6, 8:57 am, Daniel Roseman wrote: > On May 6, 5:26 am, NicoEchániz wrote: > > Hello, > > > I have a model which has a ForeignKey to itself. I'm doing this to > > represent a hierarchy which I then need to display in the > > corresponding select field o

custom form problem...

2009-05-05 Thread NicoEchániz
in the select choices next time I visit the form. I need to reload the page a bunch of times for it to show up. So, what do I need to do to avoid this behaviour? Thank you all very much in advance, NicoEchániz --~--~-~--~~~---~--~~ You received this message because

Meta, order_with_respect_to for recursive relation

2009-03-07 Thread NicoEchániz
Hi, I have a model with a recursive relation: class Category(models.Model): name = models.CharField(max_length=100, blank=False, db_index=True) parent_category = models.ForeignKey('self', related_name='child_categories', blank=True, null=True) And I want it's members to be ordered with