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
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
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
3 matches
Mail list logo