title: django models.ForeignKey("Tablename) or models.Foreignkey(Tablenamevariable)
body: <p>Im looking at the django-generated model classes using inspectdb.</p>
  <p>I noticed that sometimes strings and sometimes variable names are called based on their &quot;read from top to bottom&quot; appearance in the file.</p>
  <p>here and example</p>
  <pre><code>class AuthGroup(models.Model):
      name = models.CharField(unique=True, max_length=150)
  
      class Meta:
          managed = True
          db_table = 'auth_group'
  
  
  class AuthGroupPermissions(models.Model):
      id = models.BigAutoField(primary_key=True)
      group = models.ForeignKey(AuthGroup, models.DO_NOTHING)
      permission = models.ForeignKey('AuthPermission', models.DO_NOTHING)
  
      class Meta:
          managed = True
          db_table = 'auth_group_permissions'
          unique_together = (('group', 'permission'),)
  
  
  class AuthPermission(models.Model):
      name = models.CharField(max_length=255)
      content_type = models.ForeignKey('DjangoContentType', models.DO_NOTHING)
      codename = models.CharField(max_length=100)
  
      class Meta:
          managed = True
          db_table = 'auth_permission'
          unique_together = (('content_type', 'codename'),)
  </code></pre>
  <p>Using a legacy db (mysql) in my case.</p>
  <p>Quesion is:
  Can i not just always use the string name of the table insead of sometimes string sometimes variable? That would be safer in my case
  Would these two statements not do the same thing?</p>
  <pre><code>group = models.ForeignKey('AuthGroup', models.DO_NOTHING)
  permission = models.ForeignKey('AuthPermission', models.DO_NOTHING)
  </code></pre>