title: How to get Class Model name from ManyToManyField in Django
body: <p>I need to get Class Model name from #django.db.models.fields.related.ManyToManyField object.For example:</p>
  
  <pre><code>class Source(models.Model):
      groups = models.ManyToManyField(Group)
  
      def generated_sql(self):
          print [f.name for f in self._meta.many_to_many]
  
          #tehere I need to get Class Model name for f, in this case will be: Group
  </code></pre>
  
  <p>Thanks in advance</p>