summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial01.txt
diff options
context:
space:
mode:
authorBen Longden <blongden@inviqa.com>2012-12-13 13:20:47 +0000
committerTim Graham <timograham@gmail.com>2012-12-14 19:33:48 -0500
commit0c3e4848b63574f0f02528bb15a4cfbd23333bc8 (patch)
tree69d56ab99ed8563cfbb87714a1f8d3a9b234a7e3 /docs/intro/tutorial01.txt
parent44e56238d79890176a747181d32fbc53be157706 (diff)
[1.5.X] Removed PHP references
Backport of 55a2d5b577 from master
Diffstat (limited to 'docs/intro/tutorial01.txt')
-rw-r--r--docs/intro/tutorial01.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index 9913b21e13..686cb5220c 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -81,12 +81,12 @@ work, see :doc:`Troubleshooting </faq/troubleshooting>`.
.. admonition:: Where should this code live?
- If your background is in PHP, you're probably used to putting code under the
- Web server's document root (in a place such as ``/var/www``). With Django,
- you don't do that. It's not a good idea to put any of this Python code
- within your Web server's document root, because it risks the possibility
- that people may be able to view your code over the Web. That's not good for
- security.
+ If your background is in plain old PHP (with no use of modern frameworks),
+ you're probably used to putting code under the Web server's document root
+ (in a place such as ``/var/www``). With Django, you don't do that. It's
+ not a good idea to put any of this Python code within your Web server's
+ document root, because it risks the possibility that people may be able
+ to view your code over the Web. That's not good for security.
Put your code in some directory **outside** of the document root, such as
:file:`/home/mycode`.