django-crispy-forms Questions
7
Solved
I am building a registration form for my django project, and for styling it I am using crispy forms. But, when I run my server and go to my registration page, I see this error:
Internal Server Err...
Cyna asked 10/12, 2020 at 16:27
6
Solved
Using Crispy Forms with Django, I can only get a TemplateDoesNotExist error when using any feature of Crispy Forms.
As I'm new to Crispy Forms (which seems to be universally recommended for quickly...
Preprandial asked 18/2, 2023 at 18:14
2
specifically, using the example template in the django-filter docs:
{% extends "base.html" %}
{% block content %}
<form action="" method="get">
{{ filter.form.as_p }}
<input type="subm...
Osborne asked 26/2, 2014 at 15:36
5
Solved
I want to use Jinja2 and Django crispy forms together, but when I load crispy_forms_tags in my template and trying to render form with this template tag, I get an error:
Encountered unknown tag 'c...
Magnetic asked 18/8, 2014 at 13:49
3
Solved
Is it possible to format a django_filters filter form with django-crispy-forms? I've been trying to do that, but django_filters.FilterSet doesn't seem to accept the crispy forms formats (from Devic...
Baggy asked 13/1, 2021 at 12:12
19
Solved
I'm working on some django apps, pretty noob still. Would like to use crispy-forms, but eclipse and django doesnt recognize it.
Trying to runserver or shell:
$ python manage.py runserver
this h...
Betatron asked 17/2, 2015 at 11:54
7
Solved
Does anybody know if there is a correct way to remove labels in a crispy form?
I got as far as this:
self.fields['field'].label = ""
But it's not a very nice solution.
Ultramicrochemistry asked 13/7, 2012 at 14:26
2
Solved
According with django-crispy-form documentation, I will be able to change input width with class input-small. But my form always looks with width at 100%:
Also, If I add css_class to Field the s...
Cottonmouth asked 30/3, 2014 at 17:2
4
Solved
When trying to use the crispy filter I receive an error:
django.template.exceptions.TemplateSyntaxError: Invalid filter: 'crispy'
I believe this is because Django cannot locate the crispy filter, ...
Danyel asked 4/9, 2019 at 4:0
5
I installed bootstrap3 with
$ pip install django-bootstrap3
It is being installed in this directory
/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/
Django seems...
Ragen asked 19/9, 2014 at 19:50
4
Solved
I want to use CreateView along with crispy-forms generated layout. However, it seems that everything I pass to self.helper in forms.py is ignored.
Form renders nicely, but only with fields generate...
Huron asked 27/5, 2014 at 8:55
4
Solved
I use allauth to sign in with emails and did a very basic custom login form and a template override for allauth and display the login form. Hitting the URL throws me straight into the exception:
...
Dareen asked 12/8, 2019 at 1:57
3
I want to use the same model for two forms and change the labels of field how can i change the label?
this is my one form:
class jobpostForm(forms.ModelForm):
class Meta:
model = jobpost
fie...
Generality asked 29/4, 2013 at 11:52
3
When creating a Form with FormHelper(), the text areas of my form (for TextFields) are too big: They are set to 10 rows. I'd like to set the number of rows. How can I do that?
My code:
models.py:
f...
Gluttonous asked 31/8, 2020 at 17:54
4
Solved
I'm using django-crispy-forms with Twitter Bootstrap , and I'm having some issues with customizing my forms into multiple rows and columns. One example problem is that nothing happens when I try to...
Loveinidleness asked 27/8, 2012 at 14:55
3
Solved
Looking through the crispy forms I cannot find if help text is supported. im trying to add some help text to the select multiple field as per the below
Field('site_types', Title="Site Types", size...
Springy asked 13/6, 2018 at 9:19
5
Solved
There are an awful lot of date/datetime picker implementations out there. Are there any that integrate with Django and Crispy Forms particularly well, and how are they used?
I'm looking to minimis...
Algol asked 21/7, 2015 at 19:51
2
Solved
I am building a Create a Recipe form using crispy forms and I am trying to use a datalist input field for users to enter their own ingredients, like 'Big Tomato' or select from GlobalIngredients al...
Delcine asked 8/12, 2021 at 1:29
3
I'm using bootstrap3 as the default template pack in django_crispy_forms, and trying to render a form with the crispy tag:
{% crispy form %}
My form class has the following helper attributes:
c...
Tidewater asked 30/9, 2013 at 13:2
7
Solved
In my forms.py I have
[...]
self.helper.layout = Layout(
Field('name'),
Field('description'),
)
self.helper.form_class = 'form-horizontal'
self.helper.label_class = 'col-md-2 col-xs-3'
self.help...
Sterilize asked 17/7, 2014 at 19:47
3
I'm trying to place the label of my fields on the left side of the form with the right side having the text input. However, I can't seem to make it work. Here are the settings i've placed.
forms.p...
Murphy asked 24/3, 2016 at 22:43
4
class StudentCreateView(CreateView):
model = Student
template_name = "students/students_edit.html"
form_class = StudentCreateForm
def get_success_url(self):
return u'%s?status_message=Студент ...
Unswear asked 12/11, 2015 at 20:40
2
Solved
I want to have two fields corresponding to check boxes next to next (not one below other) like I have shown in the image.
my form inherits from models.Form and has other fields, which I have left...
Sow asked 11/4, 2014 at 20:10
3
I'm trying to create a Django app using Django crispy-forms.
settings.py
CRISPY_TEMPLATE_PACK = 'bootstrap3'
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.c...
Erda asked 28/7, 2014 at 8:48
1
Solved
I'm trying to change the label of the fields that are required in django form using labels in Meta class .
so after writing the code using this doc , i have a problem because the name of the field...
Proficient asked 6/4, 2020 at 10:51
1 Next >
© 2022 - 2025 — McMap. All rights reserved.