(self)
| 11 | css = {"all": ("path/to/media.css",)} |
| 12 | |
| 13 | def clean_username(self): |
| 14 | username = self.cleaned_data.get("username") |
| 15 | if username == "customform": |
| 16 | raise ValidationError("custom form error") |
| 17 | return username |
| 18 | |
| 19 | |
| 20 | class CustomAdminPasswordChangeForm(AdminPasswordChangeForm): |
nothing calls this directly
no test coverage detected