diff options
Diffstat (limited to 'docs/ref/django-admin.txt')
| -rw-r--r-- | docs/ref/django-admin.txt | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index 290d31f253..d268d88e80 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -881,7 +881,7 @@ needed. You don't need to restart the server for code changes to take effect. However, some actions like adding files don't trigger a restart, so you'll have to restart the server in these cases. -If you're using Linux or MacOS and install both `pywatchman`_ and the +If you're using Linux or MacOS and install both :pypi:`pywatchman` and the `Watchman`_ service, kernel signals will be used to autoreload the server (rather than polling file modification timestamps each second). This offers better performance on large projects, reduced response time after code changes, @@ -903,7 +903,6 @@ more robust change detection, and a reduction in power usage. Django supports by setting the :envvar:`DJANGO_WATCHMAN_TIMEOUT` environment variable. .. _Watchman: https://facebook.github.io/watchman/ -.. _pywatchman: https://pypi.org/project/pywatchman/ .. _watchman documentation: https://facebook.github.io/watchman/docs/config#ignore_dirs When you start the server, and each time you change Python code while the @@ -1920,9 +1919,9 @@ Under Windows, the legacy ``cmd.exe`` native console doesn't support ANSI escape sequences so by default there is no color output. In this case either of two third-party libraries are needed: -* Install colorama_, a Python package that translates ANSI color codes into - Windows API calls. Django commands will detect its presence and will make use - of its services to color output just like on Unix-based platforms. +* Install :pypi:`colorama`, a Python package that translates ANSI color codes + into Windows API calls. Django commands will detect its presence and will + make use of its services to color output just like on Unix-based platforms. ``colorama`` can be installed via pip: .. code-block:: doscon @@ -1941,7 +1940,6 @@ installation of ``ANSICON`` by setting the appropriate environmental variable, .. _`Windows Terminal`: https://www.microsoft.com/en-us/p/windows-terminal-preview/9n0dx20hk701 .. _`VS Code`: https://code.visualstudio.com .. _ANSICON: http://adoxa.altervista.org/ansicon/ -.. _colorama: https://pypi.org/project/colorama/ Custom colors ~~~~~~~~~~~~~ |
