django-superform icon indicating copy to clipboard operation
django-superform copied to clipboard

Add forms and formsets to other forms like they were fields.

Results 16 django-superform issues
Sort by recently updated
recently updated
newest added

Django-superform ceased functioning with Django 3.0, when they removed six from django.utils. This also fixes the broken import of the BoundField in boundfield.py as the django.forms.forms.BoundField compatibility import was removed...

they removed SIX so this does not work anymore https://github.com/gregmuellegger/django-superform/blob/master/django_superform/forms.py#L82

Hello, i am using Django 1.10.7 And got this error ``` Traceback: File "/var/webapps/mtas_proj/env/local/lib/python2.7/site-packages/django/core/handlers/exception.py" in inner 42. response = get_response(request) File "/var/webapps/mtas_proj/env/local/lib/python2.7/site-packages/django/core/handlers/base.py" in _get_response 187. response = self.process_exception_by_middleware(e, request) File...

I have this form class StudioAppointmentForm(SuperModelForm): who = ForeignKeyFormField(form_class=CustomerForm, field_name='who', blank=True) class Meta: model = StudioAppointment fields = () with a model class StudioAppointmentForm(SuperModelForm): who = ForeignKeyFormField(form_class=CustomerForm, field_name='who', blank=True) class...

according to the issue: [Django inline formset error](https://stackoverflow.com/a/11199031/1951027) and the [documentation for Model Formset](https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#model-formsets), we should set the db Model as argument to the modelformset_factory. So the `EmailFormSet = modelformset_factory(EmailForm)`...

Composite fields not listed in the form.visible_fields and hidden_fields Django suggest the form rendering customization by looping over `form.hidden_field` and `form.visible_fields` in the template - https://docs.djangoproject.com/ja/1.9/topics/forms/#looping-over-hidden-and-visible-fields. But the bound composite...

Heyo thanks for releasing this! I noticed the [Quickstart](https://django-superform.readthedocs.io/en/latest/quickstart.html) page says "TODO" but the opening in the README would be a perfect fit for that.

An example syntax: ``` class MyForm(SuperForm): addresses = FormSetForm(...) def clean_addresses(self): data = self.formsets['addresses'].cleaned_data raise ValidationError('...') # will end up in self.errors['addresses'] return data # I would suggest ignoring the...