Coverage for sample_project/forms.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.8, created at 2024-12-20 09:24 +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)