diff options
| author | Tim Graham <timograham@gmail.com> | 2016-05-08 18:07:43 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-08 18:07:43 -0400 |
| commit | f5ff5010cd74500785a707ac70b51d292403cddc (patch) | |
| tree | 4feba4343be64658742341f0498b599add0c7834 /docs/intro/tutorial01.txt | |
| parent | 413f3bb5c8f29fae08de58d5424b2be185739b32 (diff) | |
Fixed #26483 -- Updated docs.python.org links to use Intersphinx.
Diffstat (limited to 'docs/intro/tutorial01.txt')
| -rw-r--r-- | docs/intro/tutorial01.txt | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/docs/intro/tutorial01.txt b/docs/intro/tutorial01.txt index de86571df3..ba50451d95 100644 --- a/docs/intro/tutorial01.txt +++ b/docs/intro/tutorial01.txt @@ -102,8 +102,8 @@ These files are: 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 - packages`_ in the official Python docs if you're a Python beginner.) + directory should be considered a Python package. If you're a Python beginner, + read :ref:`more about packages <tut-packages>` in the official Python docs. * :file:`mysite/settings.py`: Settings/configuration for this Django project. :doc:`/topics/settings` will tell you all about how settings @@ -116,8 +116,6 @@ These files are: * :file:`mysite/wsgi.py`: An entry-point for WSGI-compatible web servers to serve your project. See :doc:`/howto/deployment/wsgi/index` for more details. -.. _more about packages: https://docs.python.org/tutorial/modules.html#packages - The development server ====================== @@ -211,9 +209,10 @@ rather than creating directories. configuration and apps for a particular website. A project can contain multiple apps. An app can be in multiple projects. -Your apps can live anywhere on your `Python path`_. In this tutorial, we'll -create our poll app right next to your :file:`manage.py` file so that it can be -imported as its own top-level module, rather than a submodule of ``mysite``. +Your apps can live anywhere on your :ref:`Python path <tut-searchpath>`. In +this tutorial, we'll create our poll app right next to your :file:`manage.py` +file so that it can be imported as its own top-level module, rather than a +submodule of ``mysite``. To create your app, make sure you're in the same directory as :file:`manage.py` and type this command: @@ -236,8 +235,6 @@ That'll create a directory :file:`polls`, which is laid out like this:: This directory structure will house the poll application. -.. _`Python path`: https://docs.python.org/tutorial/modules.html#the-module-search-path - Write your first view ===================== |
