          RegexURLResolver as URLResolver,
      )
  
  
  def get_original_route(urlpattern):
      """
      Get the original route/regex that was typed in by the user into the path(), re_path() or url() directive. This
      is in contrast with get_regex_pattern below, which for RoutePattern returns the raw regex generated from the path().
      """
 
</s> remove     MinValueValidator, unicode_repr, unicode_to_repr
 </s> add     MinValueValidator, ProhibitNullCharactersValidator, unicode_repr,
    unicode_to_repr </s> remove         'min_length': _('Ensure this field has at least {min_length} characters.')
 </s> add         'min_length': _('Ensure this field has at least {min_length} characters.'),
try:
    from django.core.validators import ProhibitNullCharactersValidator  # noqa
except ImportError:
    ProhibitNullCharactersValidator = None

          RegexURLResolver as URLResolver,
      )
  
try:
    from django.core.validators import ProhibitNullCharactersValidator  # noqa
except ImportError:
    ProhibitNullCharactersValidator = None

  
  def get_original_route(urlpattern):
      """
      Get the original route/regex that was typed in by the user into the path(), re_path() or url() directive. This
      is in contrast with get_regex_pattern below, which for RoutePattern returns the raw regex generated from the path().
      """
keep keep add keep keep keep keep keep keep
 Prohibit null characters in CharField by default (#6073)

* Implement an allow_null_bytes argument to CharField (default True)
* Switch to using native ProhibitNullCharactersValidator instead 
rest_framework/compat.py