Skip to content

studygyaan/How-to-Use-Bootstrap-4-Forms-With-Django-Crispy-Forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to Use Bootstrap 4 Forms With Django – Crispy Forms

Integrating Bootstrap Form with Django is very easy and simple. There are lots of Django Libraries for Bootstrap. In this tutorial, we are going to use django-crispy-forms for Bootstrap Form in Django. Crispy-Forms is a great package that gives good control over rendering Bootstrap form in your Django Project.

Setup

  1. Create a folder and put all the files inside it.
  2. Create a virtual environtment - virtualenv env
  3. Activate VirtualENV - ubuntu : source env/bin/activate || windows : . .\env\Scripts\activate
  4. Run requirements.txt - pip install -r requirements.txt
  5. Run the Application - python manage.py runserver

Product add url - http://localhost:8000/product-add/

Product update url - http://localhost:8000/product-update/3

Releases

No releases published

Packages

No packages published