/questions/4162456/forward-declaration-of-classes
> https://erdantic.drivendata.org/v0.4/forward-references/
>
> Regards,
> /d
>
> -- Original Message --
> From "Michael Starr"
> To "Django users"
> Date 3/4/2023 7:43:18 AM
> Subject Ord
-- Original Message --
From "Michael Starr"
To "Django users"
Date 3/4/2023 7:43:18 AM
Subject Ordering of code
Does anyone know why in django models (and I don't know how it is in
etc. python), you can define a function below, and use it above in the
Does anyone know why in django models (and I don't know how it is in etc.
python), you can define a function below, and use it above in the code, but
a class can't reference a class defined later in the code, or it won't find
it?
That seems like beyond stupid to me.
Michael
--
You received t
3 matches
Mail list logo