I currently have twitter bootstrap incorporated on my Django test site but it is not working properly.
I tested out an example of code on the bootstrap website: http://getbootstrap.com/2.3.2/components.html#labels-badges
All I had on the site is the success badge (green oval with a 2 in the middle)
<span class="badge badge-success">2</span> However, only the oval and the "2" would be displayed but the green color round the "2" is not displayed. All I see is a grey oval with a "2" inside. Pretty much the same as the DEFAULT badge on the bootstrap website except there is a "2" instead of a "1".
I was wondering if anyone with Django and twitter bootstrap experience would help me with this issue.
Here is my views.py:
from django.http import HttpResponse from django.template import RequestContext, loader from django.shortcuts import render, render_to_response def index(request): return render(request,'homepage/index.html') Here is my html file:
{% load staticfiles %} {% load compressed %} <!DOCTYPE html> <head> {% compressed_js 'bootstrap' %} {% compressed_css 'bootstrap' %} </head> <html> <body> <span class="badge badge-success">2</span> </body> </html> Thank you for all the help! much appreciated!