Mahmoud Alaaeldin
Mahmoud Alaaeldin

Reputation: 33

How can I integrate Bootstrap with Python programming language and the Django framework?

I would like to know what is the exact process to follow when building a web application using bootstrap python and django. Is bootstrap simply a template of HTML and CSS files which should be manipulated.

Upvotes: 1

Views: 9146

Answers (3)

Darec
Darec

Reputation: 101

Pretty simple process actually!

  1. Download the bootstrap file here (the first option)- http://getbootstrap.com/getting-started/#download

  2. Place the folder into your main app's static folder. You can then start to use classes from bootstrap in your HTML.

  3. Make sure your static assets are set correctly so Django knows where to find the bootstrap components. Here's a detailed tutorial if you need more help. http://www.effectivedjango.com/tutorial/static.html

Upvotes: 2

Rajesh Kaushik
Rajesh Kaushik

Reputation: 1511

I suggest that you should use django-bootstrap3. This package is easy to use and has an active development support. For detailed docs, please read this.

Also you can look at django-twitter-bootstrap to try out another option.

Upvotes: 0

Juan
Juan

Reputation: 3705

Bootstrap are mainly CSS and Javascript files that you can use from your web application html. You can use whatever backend you want with it.

Upvotes: 0

Related Questions