python - What is the easiest/correct why to change the width of django_tables2 table -


i want table rendered django-tables2 drawn on whole screen. i'm using included paleblue css.

class pooltable(tables.table):     class meta:         model = simple          attrs = {'class': 'paleblue','width':'100%'} 
  • is possible easy in code , if how?
  • if can't in code, must change in css or html or other place?

this more of css question. here how did easy way:

chang width on 100%

class pooltable(tables.table):     class meta:         model = simple          attrs = {'class': 'paleblue','width':'200%'} 

this change size of table not pagination. if wont change size have change in css. did find easiest remove borders pagination.


Comments

Popular posts from this blog

All overlapping substrings matching a java regex -

c++ - Using OpenSSL in a multi-threaded application -

php - Deleting/Renaming a locked file -