USER STORY: Installing Django-crispy-forms #9
Labels
1
User Story Estimate is 1 story point
development
Development Process
must-have
A must-have feature
Milestone
User Story:
As a developer, I should install the necessary Django components so that I can display a comments section that is more appealing to the user
Acceptance Criteria:
Related User Stories:
#6 Django Setup - As a developer, I can set up Django and supporting libraries so that I can start developing the site
Tasks:
pip3 install django-crispy-forms
pip3 freeze --local > requirements.txt
INSTALLED_APPS
in settings.pycrispy_forms
CRISPY_TEMPLATE_PACK = 'bootstrap4'
belowINSTALLED_APPS
from .models import Comment
from django import form
from .forms import CommentForm
{% csrf_token %}
(cross site request forgery)The text was updated successfully, but these errors were encountered: