Coverage for sample_project / forms.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.13.5, created at 2026-03-30 14:27 +0000

1from django import forms 

2 

3from apis_core.relations.forms import RelationForm 

4 

5 

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)