diff options
| author | Ryan Nowakowski <tubaman@fattuba.com> | 2016-02-14 15:30:18 -0600 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-15 19:25:49 -0500 |
| commit | ca1f4390c432ba69898219a0f7d50c09b3a75781 (patch) | |
| tree | 967960df8f708224e1b7fd8eb74fb4a13c3bb060 /docs | |
| parent | 765e6c411c11e6288f67c6782c919931eb114273 (diff) | |
[1.9.x] Fixed #26221 -- Used find_packages() in reusable apps tutorial.
Otherwise the migrations package won't be included in the tarball.
Backport of 11af73eaeb4371ded68460c1591abd6aefa57a90 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/reusable-apps.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/reusable-apps.txt b/docs/intro/reusable-apps.txt index 33099de370..4f77e8bc51 100644 --- a/docs/intro/reusable-apps.txt +++ b/docs/intro/reusable-apps.txt @@ -193,7 +193,7 @@ this. For a small app like polls, this process isn't too difficult. :filename: django-polls/setup.py import os - from setuptools import setup + from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() @@ -204,7 +204,7 @@ this. For a small app like polls, this process isn't too difficult. setup( name='django-polls', version='0.1', - packages=['polls'], + packages=find_packages(), include_package_data=True, license='BSD License', # example license description='A simple Django app to conduct Web-based polls.', |
