title: Django: Two ManyToManyField to the same model
body: <p>This is my code:</p>
  
  <pre><code>class Question(models.Model):
      title = models.CharField(max_length=255, verbose_name='title', unique=True)
      content = models.TextField(verbose_name='content')
      author = models.ForeignKey(settings.AUTH_USER_MODEL)
      favourite_users = models.ManyToManyField(settings.AUTH_USER_MODEL,
                                               blank=True, null=True)
  </code></pre>
  
  <p>this model has a ForeignKey and a ManyToManyField to settings.AUTH_USER_MODEL, now if I have a settings.AUTH_USER_MODEL instance named 'user', how can I get the questions this user writes and questions this user likes? I have tried 'user.question_set.all()', but it doesn't work, maybe I should set related_name, like this:</p>
  
  <pre><code>author = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='questions')
  favourite_users = models.ManyToManyField(settings.AUTH_USER_MODEL,
                                           related_name='favourite_questions',
                                           blank=True, null=True)
  </code></pre>
  
  <p>and then use: user.questions.all() and user.favourite_questions.all() to get questions asked and favourited by user. but I am not sure if it is true. so I want to know if there is any good way to solve this problem.</p>