lakshmen
lakshmen

Reputation: 29064

Setting of CRISPY_TEMPLATE_PACK variable in Django Crispy Forms

I am referring to this: http://django-crispy-forms.readthedocs.org/en/d-0/install.html. I would like to use Django Crispy Forms together with Twitter Bootstrap, hence i need to set CRISPY_TEMPLATE_PACK to bootstrap.

Where do i do this? I am not sure how to do this.. Need some guidance...

Upvotes: 4

Views: 9434

Answers (2)

Praneeth
Praneeth

Reputation: 76

 CRISPY_TEMPLATE_PACK = 'bootstrap4'

It should be added to your settings.py file in your root directory

Upvotes: 1

lakshmen
lakshmen

Reputation: 29064

CRISPY_TEMPLATE_PACK = 'bootstrap' 

it goes in your settings.py.

Upvotes: 12

Related Questions