Whats easiest way to use filter_horizontal outside of the Admin in Django
问题 I have a non-admin form in which I'd like to use filter_horizontal on. I have read this which does much more than what I want (I only want the filter_horizontal). I wanted to check to see if anyone has come up with a simpler (more current) way to just implement the filter_horizontal. So here is the code: class County(models.Model): """County Names""" name = models.CharField(max_length=64) state = USStateField(null=True) class Company(models.Model): """The basics of a company""" name = models