summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorAndrew Miller <info@akmiller.co.uk>2024-08-07 14:47:05 +0100
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-08-08 10:10:29 +0200
commit73fcb14cd86fa320322437b9827e465115fb6043 (patch)
tree990e3e5b7cc0bfd3f8b52587e6d43da22c670340 /docs/ref
parent291fa5fbbe5ee1e7267b7389bec3d057519d925f (diff)
[5.1.x] Refs #35591 -- Emphasized that runserver is not suitable for production.
Backport of cec62fb99e8ff63f30c7871a048ab15081142668 from main.
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/django-admin.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt
index fa4f6e9ca8..0e0a79fdd7 100644
--- a/docs/ref/django-admin.txt
+++ b/docs/ref/django-admin.txt
@@ -870,11 +870,11 @@ are reserved for the superuser (root).
This server uses the WSGI application object specified by the
:setting:`WSGI_APPLICATION` setting.
-DO NOT USE THIS SERVER IN A PRODUCTION SETTING. It has not gone through
-security audits or performance tests. (And that's how it's gonna stay. We're in
-the business of making web frameworks, not web servers, so improving this
-server to be able to handle a production environment is outside the scope of
-Django.)
+.. warning:: DO NOT USE THIS SERVER IN A PRODUCTION SETTING.
+
+ This lightweight development server has not gone through security audits or
+ performance tests, hence is unsuitable for production. Making this server
+ able to handle a production environment is outside the scope of Django.
The development server automatically reloads Python code for each request, as
needed. You don't need to restart the server for code changes to take effect.