docs: def autostrip(cls):
      """
      strip text fields before validation
  
      example:
      @autostrip
      class PersonForm(forms.Form):
          name = forms.CharField(min_length=2, max_length=10)
          email = forms.EmailField()
  
      Author: nail.xx
      """
      warnings.warn(
          "django-annoying autostrip is deprecated and will be removed in a "
          "future version. Django now has native support for stripping form "
          "fields. "
          "https://docs.djangoproject.com/en/stable/ref/forms/fields/#django.forms.CharField.strip",
          DeprecationWarning,
          stacklevel=2,
      )
      fields = [(key, value) for key, value in cls.base_fields.items() if isinstance(value, forms.CharField)]
      for field_name, field_object in fields:
          def get_clean_func(original_clean):
              return lambda value: original_clean(value and value.strip())
          clean_func = get_clean_func(getattr(field_object, 'clean'))
          setattr(field_object, 'clean', clean_func)
      return cls