mirror of
https://github.com/django/django.git
synced 2025-10-25 06:36:07 +00:00
@@ -14,7 +14,7 @@ For example, Django was used at kusports.com_ to generate customized,
|
|||||||
printer-friendly NCAA tournament brackets, as PDF files, for people
|
printer-friendly NCAA tournament brackets, as PDF files, for people
|
||||||
participating in a March Madness contest.
|
participating in a March Madness contest.
|
||||||
|
|
||||||
.. _ReportLab: https://www.reportlab.com/opensource/
|
.. _ReportLab: https://docs.reportlab.com/
|
||||||
.. _kusports.com: http://www2.kusports.com/
|
.. _kusports.com: http://www2.kusports.com/
|
||||||
|
|
||||||
Install ReportLab
|
Install ReportLab
|
||||||
|
|||||||
@@ -292,7 +292,7 @@ dependencies:
|
|||||||
* :pypi:`pywatchman`
|
* :pypi:`pywatchman`
|
||||||
* :pypi:`redis` 3.4+
|
* :pypi:`redis` 3.4+
|
||||||
* :pypi:`setuptools`
|
* :pypi:`setuptools`
|
||||||
* :pypi:`memcached`, plus a `supported Python binding
|
* :pypi:`python-memcached`, plus a `supported Python binding
|
||||||
<https://memcached.org/>`_
|
<https://memcached.org/>`_
|
||||||
* `gettext <https://www.gnu.org/software/gettext/manual/gettext.html>`_
|
* `gettext <https://www.gnu.org/software/gettext/manual/gettext.html>`_
|
||||||
(:ref:`gettext_on_windows`)
|
(:ref:`gettext_on_windows`)
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Django's, please consult :doc:`Django's syndication documentation
|
|||||||
|
|
||||||
.. _W3C Geo: https://www.w3.org/2003/01/geo/
|
.. _W3C Geo: https://www.w3.org/2003/01/geo/
|
||||||
|
|
||||||
__ https://georss.org
|
__ https://www.ogc.org/standard/georss/
|
||||||
|
|
||||||
Example
|
Example
|
||||||
=======
|
=======
|
||||||
|
|||||||
@@ -279,7 +279,7 @@ Django provides an ``IntegerChoices`` class. For example::
|
|||||||
suit = models.IntegerField(choices=Suit.choices)
|
suit = models.IntegerField(choices=Suit.choices)
|
||||||
|
|
||||||
It is also possible to make use of the `Enum Functional API
|
It is also possible to make use of the `Enum Functional API
|
||||||
<https://docs.python.org/3/library/enum.html#functional-api>`_ with the caveat
|
<https://docs.python.org/3/howto/enum.html#functional-api>`_ with the caveat
|
||||||
that labels are automatically generated as highlighted above:
|
that labels are automatically generated as highlighted above:
|
||||||
|
|
||||||
.. code-block:: pycon
|
.. code-block:: pycon
|
||||||
|
|||||||
Reference in New Issue
Block a user