Commit 9a62a282 authored by Bryan  BRANCOTTE's avatar Bryan BRANCOTTE
Browse files

preparing for next crispy form release

parent fdd442a8
...@@ -4,6 +4,7 @@ from django.http import HttpResponse ...@@ -4,6 +4,7 @@ from django.http import HttpResponse
from django.shortcuts import render from django.shortcuts import render
from django.urls import path, include from django.urls import path, include
from django.views import View from django.views import View
from crispy_forms.helper import FormHelper
def blabla(request): def blabla(request):
...@@ -31,6 +32,8 @@ class FormExample(forms.Form): ...@@ -31,6 +32,8 @@ class FormExample(forms.Form):
required=False, required=False,
help_text="bla bla", help_text="bla bla",
) )
helper = FormHelper()
helper.use_custom_control = False
context = dict( context = dict(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment