diff options
| author | Tim Graham <timograham@gmail.com> | 2012-07-01 06:55:46 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-07-01 06:55:46 -0400 |
| commit | c68f4c514c7b1102772b6ea11e9e59c7c87f7fae (patch) | |
| tree | 0a0b4e055974a1a0ae32409bddf46396e251485a | |
| parent | c5fb8299ef9658a58221d4894dadd080cc25962b (diff) | |
Fixed #18493 - Added instructions to locate the Django source files to the t
Thanks Claude Paroz for the draft patch.
| -rw-r--r-- | docs/intro/tutorial02.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index 27dc82aa96..16682c67c3 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -448,6 +448,19 @@ above, then copy ``django/contrib/admin/templates/admin/base_site.html`` to ``/home/my_username/mytemplates/admin/base_site.html``. Don't forget that ``admin`` subdirectory. +.. admonition:: Where are the Django source files? + + If you have difficulty finding where the Django source files are located + on your system, run the following command: + + .. code-block:: bash + + python -c " + import sys + sys.path = sys.path[1:] + import django + print(django.__path__)" + Then, just edit the file and replace the generic Django text with your own site's name as you see fit. |
