mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[1.6.x] Fixed #18261 -- Clarified 'project root directory'
Backport of ef3fddf26e from master
			
			
This commit is contained in:
		| @@ -99,7 +99,7 @@ Let's look at what :djadmin:`startproject` created:: | |||||||
|  |  | ||||||
| These files are: | 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 |   project. Its name doesn't matter to Django; you can rename it to anything | ||||||
|   you like. |   you like. | ||||||
|  |  | ||||||
| @@ -109,7 +109,7 @@ These files are: | |||||||
|  |  | ||||||
| * The inner :file:`mysite/` directory is the actual Python package for your | * 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 |   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 | * :file:`mysite/__init__.py`: An empty file that tells Python that this | ||||||
|   directory should be considered a Python package. (Read `more about |   directory should be considered a Python package. (Read `more about | ||||||
|   | |||||||
| @@ -1238,8 +1238,9 @@ German. | |||||||
|  |  | ||||||
| The script should be run from one of two places: | The script should be run from one of two places: | ||||||
|  |  | ||||||
| * The root directory of your Django project. | * The root directory of your Django project (the one that contains | ||||||
| * The root directory of your Django app. |   ``manage.py``). | ||||||
|  | * The root directory of one of your Django apps. | ||||||
|  |  | ||||||
| The script runs over your project source tree or your application source tree | The script runs over your project source tree or your application source tree | ||||||
| and pulls out all strings marked for translation (see | and pulls out all strings marked for translation (see | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user