jmcclell / django-bootstrap-pagination

Django template tag for rendering Page objects as Bootstrap pagination HTML
MIT License
212 stars 83 forks source link

[WIP] Support bootstrap 4 #50

Open kvdveer opened 8 years ago

kvdveer commented 8 years ago

Bootstrap 4 does not provide any new features for the pager or the paginator. Hoewever, its structure has changed a bit.

We can get away with just using a different template for bootstrap 4. This way we can also easily bring back bootstrap 2 support.

jarekwg commented 7 years ago

+1

Any chance we could get this merged in? It's still easily rebasable against master (tried on my local fork). And seems to be working in our bs4 environment.

robbiet480 commented 7 years ago

Bootstrap 4 beta is out! I just updated this PR to use the (hopefully final) formatting. It's available here. Please note BS4 has removed the pager component. I don't use it so I didn't do anything about it...

jhotujec commented 6 years ago

Any progress with this? :)

josvleeuwen commented 6 years ago

I'm getting the following error:

TemplateDoesNotExist at ... bootstrap_pagination/pagination.html

jmcclell commented 5 years ago

@kvdveer Is this still something you're working on? I've added basic support for Bootstrap 4 for the next release by simply adding the two additional required classes to the pagination tag. The pager tag is the tough one, alas. It doesn't seem to be supported at all in Bootstrap 4. I am wondering if we should just remove it. I looked at what you were doing here and wasn't sure if you were trying to make Pager still work?