Hey guys. I'm having trouble with Crispy forms with my models. The form shows up plain without the bootstrap and there seems to be no save button which i need to save data to my model. I have tried many ways and tutorials but have failed. Any help would be highly appreciated!
forms.py from django import forms from crispy_forms.helper import FormHelper from .models import Plot class PlotForm(forms.ModelForm): helper = FormHelper() helper.form_tag = False helper.form_method = 'POST' class Meta: model = Plot fields = '__all__' the html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Plot form</title> </head> <body> {% load crispy_forms_tags %} {% block content %} {% crispy form %} {% endblock %} </body> </html> views.py def plot_form(request): return render(request, 'plot_form.html', {'form': PlotForm()}) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/3e334309-2f7c-4df1-8065-e57d864be378%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.