I\'m trying to filter a ListView based on Users, using a drop down form.
models.py
class Post(models.Model): ... author = models.ForeignKey(\'aut
In your form, try changing this:
{{ author }}
to this:
Then, in your view:
if author_filter: result = Post.objects.filter(author_id=int(auth_filter))