I am following https://pypi.python.org/pypi/django-twitter-bootstrap/3.0.0 to include twitter bootstrap into my website. However, When I was testing it out, I'm not getting the expected results. I went on the bootstrap website to test out some of the things I can include on my page but they aren't being display. Please help me with this issue! Thank you!
Here is my HTML file.
<!DOCTYPE html> <html> <body> <div class="modal hide fade"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3>Modal header</h3> </div> <div class="modal-body"> <p>One fine body…</p> </div> <div class="modal-footer"> <a href="#" class="btn">Close</a> <a href="#" class="btn btn-primary">Save changes</a> </div> </div> </body> </html> I've added these portions to my settings.py:
INSTALLED_APPS = ( ..., ..., 'registration', 'twitter_bootstrap', 'pipeline', 'homepage', ) STATICFILES_STORAGE = 'pipeline.storage.PipelineCachedStorage' PIPELINE_COMPILERS = ( # used for compiling LESS files 'pipeline.compilers.less.LessCompiler', ) PIPELINE_CSS = { 'bootstrap': { 'source_filenames': ( 'less/bootstrap.less', ), 'output_filename': 'css/b.css', 'extra_context': { 'media': 'screen,projection', }, }, } PIPELINE_JS = { 'bootstrap': { 'source_filenames': ( 'js/transition.js', 'js/modal.js', 'js/dropdown.js', 'js/scrollspy.js', 'js/tab.js', 'js/tooltip.js', 'js/popover.js', 'js/alert.js', 'js/button.js', 'js/collapse.js', 'js/carousel.js', 'js/affix.js', ), 'output_filename': 'js/b.js', }, 'application': { 'source_filenames': ( 'js/holder.js', 'js/application.js', ), 'output_filename': 'js/a.js', } }