Throw the Table out the Window!

Published: Feb. 23, 2016, 8:27 a.m. Back

Author: rachell

Really, do it!

I had some trouble trying to get my form tables to behave responsively for a number of different pages. My first solution is to change the {{ form.as_table }} to {{ form.as_p}}. This will create some nice divs and ps that are responsive. My other problem is that using django-postman I didn't have access to change those files as easily, so I created a similar file to override the one in postman app. I copied and pasted and only changed the table to ps. It worked wonderfully! Then, I had to manually create rows and divs in another page (the sent emails page) to make it look pretty on mobile.

New Comment