Re: sorting inspectdb output

2008-06-03 Thread [EMAIL PROTECTED]
I don't think there is an option for that.. On Jun 3, 3:16 pm, Vidja <[EMAIL PROTECTED]> wrote: > Thanks Carole, > > Didn't know this option. Is there a way to tell inspectdb to do that? > Would be a nice option. For now I will just change the file. > > VidJa > > On 3 jun, 05:54, "[EMAIL PROTECTE

Re: sorting inspectdb output

2008-06-03 Thread Vidja
Thanks Carole, Didn't know this option. Is there a way to tell inspectdb to do that? Would be a nice option. For now I will just change the file. VidJa On 3 jun, 05:54, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > If a class is defined after it is being referenced, you can just > modify th

Re: sorting inspectdb output

2008-06-02 Thread [EMAIL PROTECTED]
If a class is defined after it is being referenced, you can just modify the code to reference the class name with quotes around it and it should alleviate any errors. class Table1(models.Model): table1_id = models.AutoField(primary_key=True) table2 = models.ForeignKey('Table2') # notice the