# Using Crispy Forms Helpers with Django-filter

**URL:** <https://forum.djangoproject.com/t/using-crispy-forms-helpers-with-django-filter/19277>\
**Category:** Forms & APIs\
**Created:** [March 5, 2023, 12:28pm UTC](https://forum.djangoproject.com/t/using-crispy-forms-helpers-with-django-filter/19277 "2023-03-05T12:28:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kses](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kses/32/10457_2.png) [@kses](https://forum.djangoproject.com/u/kses)\
**Post date:** [March 5, 2023, 12:28pm UTC](https://forum.djangoproject.com/t/using-crispy-forms-helpers-with-django-filter/19277/1 "2023-03-05T12:28:39Z")

</div>

I am trying to use more and more of the django packages when I do new stuff. I have gotten stuck on the combo of crispy-forms (bootstrap 5) and django-filters.

How do I add a Layout/Helper from crispy form to a form from django-filter?  
If I make the form “crispy” with the crispy-filter:

`{{product_filter.form|crispy}}`

It renders the form vertically, but I want it to render horizontally since it is a search filter.

---

<div class="post-metadata">

**Author:** ![laz](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/laz/32/17293_2.png) [@laz](https://forum.djangoproject.com/u/laz)\
**Post date:** [November 23, 2023, 1:58pm UTC](https://forum.djangoproject.com/t/using-crispy-forms-helpers-with-django-filter/19277/2 "2023-11-23T13:58:44Z")

</div>

For those who end up on this question, I managed to get that working with the help of this Gist : [How to integrate django-crispy-forms, django-tables2 and django-filter in order to display a paginated table with filter functionality. · GitHub](https://gist.github.com/ckrybus/1c597830ed6d0dead642fd4cb31f3b7e)

Hope it will help 😉
