class Movie(models.Model): title= models.CharField(max_length=100,) votes=models.IntegerField(null=True) year=models.IntegerField(null=True) aspect_ration=models.CharField(max_length=50,) mpaa=models.CharField(max_length=200,) rating =models.CharField(max_length=20,) imdbid=models.CharField(max_length=50,) top_250_rank=models.IntegerField(null=True) cover_url=models.CharField(max_length=500,) plot_outline=models.TextField(blank=True, null=True) summary= models.TextField(blank=True, null=True) pub_date = models.DateTimeField(null=True, blank=True,default=datetime.today()) akas_id = models.ManyToManyField('Akas', verbose_name=u'Akas ID',related_name="Akas_M2M_Movie") class Akas(models.Model): name=models.CharField(max_length=500,) def __unicode__(self): return u'%s' % (self.name) class Meta: verbose_name = 'Other Movie Title' verbose_name_plural = 'Other Movie Titles' db_table = 'Akas'
In the "Akas" table, I have an entry 2225188. Therefore, it takes a long time to view this field. What is the solution to this problem? Can I paginate the m2m widget?
Can anyone help to solve this problem? In admin.py, I use filter_horizontal = ['Akas',] 
source share