diff options
| author | saschalalala <saschalalala@users.noreply.github.com> | 2015-03-06 10:57:06 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-11 10:34:58 -0400 |
| commit | 5cf8f4596cd17f7a6096f7d5df92dde038cb12bf (patch) | |
| tree | 353375c4428e2860140b3c89756bf33681e6c7de /docs/intro/tutorial02.txt | |
| parent | 3ed9c7bdfe9f40d31dadb6734a5692c8b9d6d6dc (diff) | |
Simplified command to display path to Django source files.
Python 3 always returns an absolute path.
Diffstat (limited to 'docs/intro/tutorial02.txt')
| -rw-r--r-- | docs/intro/tutorial02.txt | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index 22c37d7b7e..4337d02d68 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -530,11 +530,7 @@ template directory in the source code of Django itself .. code-block:: console - $ python -c " - import sys - sys.path = sys.path[1:] - import django - print(django.__path__)" + $ python -c "import django; print(django.__path__)" Then, just edit the file and replace ``{{ site_header|default:_('Django administration') }}`` (including the curly |
