Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Python

Aimn Blbol
Aimn Blbol
10,352 Points

using Bootstrap with Django

Hi How do you use bootstrap for css styling with Django? Thanks

1 Answer

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

Hello Aimn.

I don't know what particular issue you are having but something that you could do is:

1) head to this page and download the bootstrap package. 2) It comes with the example code for those layouts at the bottom of the above page, so just pick a simple one (all the files are inside the downloaded package after you unzip it. 3) Implements the layout you chose (you can do this in a different project maybe, like a single page app, just to see how bootstrap works)

When you are familiar with it you can then implement it to your existing current project, as to do this you will surely have to move some files in the right locations and touch your existing html and css code. You will have to do this according to how you set up your project DIRECTORY structure and TEMPLATE structure.

If you then need more help please paste your code and we will have a further look.

ty Vitto

Aimn Blbol
Aimn Blbol
10,352 Points

Hi, Thanks for your reply. I think you forgot to include the link. Can you please include it. Thanks

Vittorio Somaschini
Vittorio Somaschini
33,371 Points

oh sorry, yes.

It is just the bootstrap download page, but documentation is good there

http://getbootstrap.com/getting-started/#download