title: How to do reverse for get_absolute_url with many to many field?
body: <p>I have a model with many-to-many fields and I need to get an ID selected from a many to many field. I decorated a <code>get_absolute_url</code> method with <code>permaling</code> decorator. And it doesn't work. So I understand that I need to reverse the relation, it is obvious from the trace, but I do not really understand what should I do?</p>
  
  <p>Model:</p>
  
  <pre><code>class MenuItems(models.Model):
      reference_value = models.CharField(max_length=255)
      filter_ids = models.ManyToManyField(Filter, blank = True)
  
      def __unicode__(self):
          return u'%s' % self.reference_value
  
      @models.permalink
      def get_absolute_url(self): 
          return ('homepage_ids', None, {'ids': self.filter_ids })
  </code></pre>
  
  <p>I tried to do with the reverse(), but I have the behavior of the method didn't changed.</p>
  
  <pre><code>    @models.permalink
      def get_absolute_url(self): 
          return reverse('homepage_ids', kwargs={'ids': self.filter_ids })
  </code></pre>