Coverage for sample_project/forms.py: 0%
4 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:51 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-11-22 07:51 +0000
1from django import forms
3from apis_core.relations.forms import RelationForm
6class LivesInForm(RelationForm):
7 # we add a big notes field to this relation, both to demonstrate how custom forms
8 # work in APIS, but also to test for an overflow in the form
9 notes = forms.CharField(widget=forms.Textarea(attrs={"rows": "70"}), required=False)