Skip to content

Commit

Permalink
Adapt doctest to Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisfreitag committed Dec 11, 2023
1 parent 46a5b17 commit 078fbbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ Usage
Enter a valid phone number (e.g. (506) 234-5678) or a number with an international call prefix.
</li>
</ul>
<input id="id_number" name="number" required="" type="tel" value="invalid"/>
<input aria-invalid="true" id="id_number" name="number" required="" type="tel" value="invalid"/>
</div>

.. note:: Because the PhoneNumberField specifies a region, the example number
Expand Down

0 comments on commit 078fbbc

Please sign in to comment.