Cookiecutter-django: Crispy forms are confusing, difficult to customize, and there is no direction as to were the form code resides.

Created on 15 Apr 2017  路  6Comments  路  Source: pydanny/cookiecutter-django

Assume I want my login/signup form to function/look different in any way from the default, where do I even go to see how the forms are being generated? The template just gets passed a form var and I put {{ form|crispy }} in the template and everything gets auto-generated. This is great if i'm 100% happy with it's look/function but what if i don't want the pop-up bubbles that say 'Please fill in this field.'? allauth docs don't say. crispy form docs don't say. cookiecutter-django don't say. any direction on where to go to customize the forms would be nice.

All 6 comments

@chrickso , take a look at the project's templates/bootstrap4 dir: there you can find Layout class derivatives' templates (layout subdir), fields templates (fields subdir), and so on and so forth.

@chrickso , I do agree we somewhat miss on crispy-forms integration docs, and it took me quite some time to grasp the overall concept.

Crispy forms are confusing, difficult to customize, and there is no direction as to where the form code resides

@chrickso, everyone who works on Cookiecutter Django is a volunteer. None of us get paid for it. We work on it in our free time. It is not our responsibility of Cookiecutter Django to document how django-crispy-forms works. Or for that matter, how allauth or other third-party projects work. That we do so or answer questions on any topic is a courtesy to our users.

Therefore, please tone down the language. Or at least use emoji to lighten your requests. Again, we're unpaid volunteers.

Speaking of volunteering, as you figure out how to customize things to your liking, consider submitting pull requests to improve the documentation. Your insights as a new user are invaluable.

apologies for the wrong tone coming across. i appreciate the effort put in by everyone. just needed to vent some of the frustration i was having trying to wrap my head around how some of this stuff works. thanks for all you do!

@chrickso Thanks for understanding. Glad to have you around! 馃槃

Was this page helpful?
0 / 5 - 0 ratings