diff options
| author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2024-08-05 15:35:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-05 10:35:50 -0300 |
| commit | 304d25667433a59409e334a93acaaa9201840508 (patch) | |
| tree | e327a09a1a7cce24b10e402ff656031bb5cce782 /docs/ref/models | |
| parent | 7f8d839722b72aeb3ec5a4278ae57c18283acacd (diff) | |
Used :pypi: role in docs where appropriate.
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/fields.txt | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index e8b1cf8cba..c83b50ab7e 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -12,8 +12,8 @@ This document contains all the API references of :class:`Field` including the .. seealso:: - If the built-in fields don't do the trick, you can try `django-localflavor - <https://github.com/django/django-localflavor>`_ (`documentation + If the built-in fields don't do the trick, you can try + :pypi:`django-localflavor` (`documentation <https://django-localflavor.readthedocs.io/>`_), which contains assorted pieces of code that are useful for particular countries and cultures. @@ -1357,9 +1357,7 @@ following optional arguments: Name of a model field which is auto-populated with the width of the image each time an image object is set. -Requires the `Pillow`_ library. - -.. _Pillow: https://pillow.readthedocs.io/en/latest/ +Requires the :pypi:`pillow` library. :class:`ImageField` instances are created in your database as ``varchar`` columns with a default max length of 100 characters. As with other fields, you |
