Since Django allows specifying relationship between models by both as a string or by a model class "models.Foreignkey('User') vs "models.Foreignkey(User)". Which one is preferred and recommend and what are the downsides of choosing one over the other? In documentation all the examples are of the second form but i have seen ppl specifying relationships in string. Can someone please elaborate more on this?
Regards, Mohit Solanki -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at https://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/CAKB6Ln-4rU2c%3DZL%3DTCbYfFZWG8fSDq4KP9DYhUc4TDFLNFdQtw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.