2

I am using Django Bootstrap toolkit, and I am wondering where the CSS and JS files are stored so I can edit them.

Michael Conlin
  • 829
  • 1
  • 7
  • 14

1 Answers1

6

Take a look at the example project and templatetags:

BOOTSTRAP_BASE_URL = 'http://twitter.github.com/bootstrap/assets/'
BOOTSTRAP_CSS_BASE_URL = BOOTSTRAP_BASE_URL + 'css/'
BOOTSTRAP_CSS_URL = BOOTSTRAP_CSS_BASE_URL + 'bootstrap.css'
BOOTSTRAP_JS_BASE_URL = BOOTSTRAP_BASE_URL + 'js/'

So you can define your own version of the files but per default django-bootstrap-toolkit embeds the files directly from the Github repository.

However, in most cases it is better to leave the original files alone and overwrite the necessary declarations in your own stylesheets. Check this answer to see how to do this.

Community
  • 1
  • 1
arie
  • 18,737
  • 5
  • 70
  • 76