djangosnippets.org: Latest snippets posted by axelwasshttps://djangosnippets.org/users/axelwass/2015-08-25T12:59:04.764582-05:00axelwassDynamic formset without javascript
2015-08-25T12:59:04.764582-05:00axelwasshttps://djangosnippets.org/snippets/10524/<p>If using javascript is not an option, you can use something like this code to have a variable number of subforms. </p>
<p>This code uses crispy-forms, but it is totally dispensable.</p>
Freely redistributableReusable field forms using crispy-forms
2015-08-25T11:45:12.787479-05:00axelwasshttps://djangosnippets.org/snippets/10523/<p>If you need to use some source to construct your form (maybe some database info or some user input), or you use the same fields with the same functionality in various forms and need to write the same piece of code for each of them, then you are looking in …</p>
Freely redistributable