
# base/monkey_patches.py
from django.forms.utils import ErrorList

def patch_errorlist():
    original_str = ErrorList.__str__

    def __str__(self):
        """Override ErrorList to return empty string when no errors"""
        return '' if not self else original_str(self)

    ErrorList.__str__ = __str__

# Don't apply the patch here, let apps.py control it

