Comments (1)
This is not really a crispy-forms-foundation issue, but a Django one.
What you see "on top of the form" is called "non field errors" and what you want is "field errors".
You see "non field errors" because you have some validation that is raising error unassigned to a field. It's probably because you are raising error in Form.clean() method, so you should see to raise this error in Form.clean_FIELD() like this :
https://docs.djangoproject.com/en/1.6/ref/forms/validation/#cleaning-a-specific-field-attribute
But sometime it comes from code you don't manage yourself and then you will have to override it or do some manual tricks in your template, but this is generally bad.
from crispy-forms-foundation.
Related Issues (20)
- Form filefield is a bit ugly HOT 3
- TemplateSyntaxError at /login/ crispy tag's template_pack argument should be in ('bootstrap', 'uni_form', 'bootstrap3') HOT 10
- CSS classes bugs with crispy>=1.5.x HOT 3
- Foundation 6 Support HOT 10
- New layout elements to make real <button> ?
- Django 1.11 support? HOT 3
- Django 2.0 error HOT 5
- "required" added for FileFields even when there's already a file HOT 1
- Respect helper.field_template in templates
- Including the template for checkboxselectmultiple.html in the page means it cannot be overridden in the form HOT 1
- Possibility to add "data-" elements into <div> HOT 1
- Django 3 support! HOT 1
- Missing row.html and column.html templates in 0.8.0 HOT 3
- Django 4.0 support HOT 1
- sequence item 1: expected str instance, BoundField found HOT 4
- TypeError: 'Pointer' object is not subscriptable with crispy-forms>=2.0 HOT 2
- Foundation 5 HOT 4
- Foundtion 5 alert boxes errors HOT 1
- Add Python 3 support HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crispy-forms-foundation.