I know this group is for django development, posting it here because I want 
to here from core django devs.

On Sunday, April 7, 2019 at 9:23:45 AM UTC+5:30, Mohit Solanki wrote:
>
> 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/50f5ef75-bead-4f4c-89d7-888101322683%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to