I want to know what the difference between these two foreignkey definitions are.
(1) MyFKField = models.ForeignKey(\'MyModel\') (2) MyFKField = models.Foreig
If the definition of class MyModel is under the definition of class MyFKField (in the code) then you should write it between quotes.