Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt checkbox rendering for Bootstrap4 #100

Merged
merged 3 commits into from
Aug 22, 2018
Merged

Conversation

sedrubal
Copy link
Contributor

Fixes #95

It may be a bit hacky but it should work...

@dyve
Copy link
Member

dyve commented Jul 15, 2018

Could we have a test that prevents regression?

@sedrubal
Copy link
Contributor Author

Yes, sure. I'm wondering if there is a nice way to check the html tree structure of the rendered html. Am I allowed to use BeautifulSoup in tests to inspect html?

@dyve
Copy link
Member

dyve commented Aug 20, 2018

Thanks @sedrubal.
I have limited experience with using BeautifulSoup for testing. @jieter your opinion?

@jieter
Copy link
Member

jieter commented Aug 20, 2018

in django-tables2, we use lxml, but I think BeautifulSoup has a more user friendly API. As long as one is chosen, which one doesn't matter to me.

@jieter
Copy link
Member

jieter commented Aug 20, 2018

This is a good illustration why using something like BeautifulSoup is a very good idea:

https://github.com/zostera/django-bootstrap4/pull/104/files#diff-e11ea24805bba77a267e4eb0e8650bbbL697

@dyve dyve merged commit d346ac1 into zostera:master Aug 22, 2018
@sedrubal sedrubal deleted the fix-checkbox branch September 17, 2018 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants