Hi,
I'm currently using django + tailwindcss and i have forms which i render manually in my forms.py like this :
so my question is how to make the classes used in my forms be in the styles.css as if i had put them in the *.html file and how to whitelist from python3 manage.py tailwind build ( i google a bit about purgecss whitlisting but didn't know how to implement it in this project), Also i'm not interested in using django crispy forms because i use a tailwind css plugin named kutty https://kutty.netlify.app/ for rendering the classes of these forms.
Thank's in advance
Hi, I'm currently using django + tailwindcss and i have forms which i render manually in my forms.py like this : so my question is how to make the classes used in my forms be in the styles.css as if i had put them in the *.html file and how to whitelist from python3 manage.py tailwind build ( i google a bit about purgecss whitlisting but didn't know how to implement it in this project), Also i'm not interested in using django crispy forms because i use a tailwind css plugin named kutty https://kutty.netlify.app/ for rendering the classes of these forms. Thank's in advance