On Sep 10, 7:16 am, nbv4 wrote:
> I remember reading about away to use django models without importing,
> but google fails me. I want to create a ForeignKey relation to another
> model, but I can't import it because that will call an endless loop of
> imports.
>
> I know about doing:
>
> field =
I remember reading about away to use django models without importing,
but google fails me. I want to create a ForeignKey relation to another
model, but I can't import it because that will call an endless loop of
imports.
I know about doing:
field = models.ForeignKey("app.Model")
but theres a bu
2 matches
Mail list logo