diff options
| author | Blaise Laflamme <blaise@laflamme.org> | 2012-03-12 17:11:02 -0700 |
|---|---|---|
| committer | Blaise Laflamme <blaise@laflamme.org> | 2012-03-12 17:11:02 -0700 |
| commit | c46f550c84d905e1911ac1f6efb62754dd41b5cf (patch) | |
| tree | 775a9fe0e65a9b23f6e23fa68e449a5c63f4a4cd /docs/tutorials/wiki2/basiclayout.rst | |
| parent | c8825fb047941fb7567fdf147e957acf81b6426b (diff) | |
| parent | 197808638a50dc085efc7511e24c043274e35663 (diff) | |
| download | pyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.tar.gz pyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.tar.bz2 pyramid-c46f550c84d905e1911ac1f6efb62754dd41b5cf.zip | |
Merge pull request #472 from audreyr/master
Clarified instructions in wiki2 tutorial
Diffstat (limited to 'docs/tutorials/wiki2/basiclayout.rst')
| -rw-r--r-- | docs/tutorials/wiki2/basiclayout.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/tutorials/wiki2/basiclayout.rst b/docs/tutorials/wiki2/basiclayout.rst index 29e272081..888ae0bf3 100644 --- a/docs/tutorials/wiki2/basiclayout.rst +++ b/docs/tutorials/wiki2/basiclayout.rst @@ -16,8 +16,10 @@ Application Configuration with ``__init__.py`` A directory on disk can be turned into a Python :term:`package` by containing an ``__init__.py`` file. Even if empty, this marks a directory as a Python package. We use ``__init__.py`` both as a marker indicating the directory -it's contained within is a package, and to contain configuration code. Our -``__init__.py`` file will look like this: +it's contained within is a package, and to contain configuration code. + +Open the ``tutorial/tutorial/__init__.py`` file. It should already contain +the following: .. literalinclude:: src/basiclayout/tutorial/__init__.py :linenos: |
