summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSusanTan <onceuponatimeforever@gmail.com>2013-07-06 18:24:38 -0700
committerTim Graham <timograham@gmail.com>2013-07-09 07:16:45 -0400
commit5192dbbf5546eb62e1c24d36d91f270b1a2b5eaf (patch)
tree4a240e8aa76008c04018d65d938a9ed352c75bdc
parent0a91a8dbe3e406d5a321bdcea0d1ab82110c157f (diff)
[1.5.x] Fixed #18261 -- Clarified 'project root directory'
Backport of ef3fddf26e from master
-rw-r--r--docs/intro/tutorial01.txt4
-rw-r--r--docs/topics/i18n/translation.txt5
2 files changed, 5 insertions, 4 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt
index fdd68a6212..a6401545c8 100644
--- a/docs/intro/tutorial01.txt
+++ b/docs/intro/tutorial01.txt
@@ -98,7 +98,7 @@ Let's look at what :djadmin:`startproject` created::
These files are:
-* The outer :file:`mysite/` directory is just a container for your
+* The outer :file:`mysite/` root directory is just a container for your
project. Its name doesn't matter to Django; you can rename it to anything
you like.
@@ -108,7 +108,7 @@ These files are:
* The inner :file:`mysite/` directory is the actual Python package for your
project. Its name is the Python package name you'll need to use to import
- anything inside it (e.g. ``import mysite.settings``).
+ anything inside it (e.g. ``mysite.urls``).
* :file:`mysite/__init__.py`: An empty file that tells Python that this
directory should be considered a Python package. (Read `more about
diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt
index 3a315a8c11..446c313ef6 100644
--- a/docs/topics/i18n/translation.txt
+++ b/docs/topics/i18n/translation.txt
@@ -1199,8 +1199,9 @@ German.
The script should be run from one of two places:
-* The root directory of your Django project.
-* The root directory of your Django app.
+* The root directory of your Django project (the one that contains
+ ``manage.py``).
+* The root directory of one of your Django apps.
The script runs over your project source tree or your application source tree
and pulls out all strings marked for translation (see