Forms#

The etfs app provides a single user-facing form – the ETF creation / edit form. It is one of the per-app subclasses of BaseUserItemForm (see Forms, fields and widgets), narrowed to Etf with no further field or validator overrides.

UserEtfForm#

Concrete ETF variant of BaseUserItemForm. Sets item_model = Etf and otherwise inherits every behavior of the base form – duplicate-symbol check, uppercase normalization, indexes queryset scoped to the current user, read-only symbol on edit.

class richy.etfs.forms.UserEtfForm(user, *args, **kwargs)[source]#

Bases: BaseUserItemForm