Ticket #14650: slugfield_doc.diff

File slugfield_doc.diff, 625 bytes (added by stringify, 5 years ago)
  • docs/ref/forms/fields.txt

     
    682682   * Default widget: ``TextInput``
    683683   * Empty value: ``''`` (an empty string)
    684684   * Normalizes to: A Unicode object.
    685    * Validates that the given value contains only letters, numbers and
    686      hyphens.
     685   * Validates that the given value contains only letters, numbers, underscores
     686     and hyphens.
    687687   * Error messages: ``required``, ``invalid``
    688688
    689689This field is intended for use in representing a model
Back to Top