diff options
| author | Jannis Leidel <jannis@leidel.info> | 2011-01-15 23:38:00 +0000 |
|---|---|---|
| committer | Jannis Leidel <jannis@leidel.info> | 2011-01-15 23:38:00 +0000 |
| commit | 645eb2b26b01520d7e98cb3c2f671e254571a090 (patch) | |
| tree | 75f1a2003f7223efb29c485adef21e6158ab31be /docs | |
| parent | 6c361ecb179cb0bfa76614e0292188c548801606 (diff) | |
Stopped staticfiles app from requiring a models module when looking for static files. Also removed a bit of code smell in the prefix handling by saving it in the source file storage.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/contrib/staticfiles.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt index 2befe2d331..3eff2aabb4 100644 --- a/docs/ref/contrib/staticfiles.txt +++ b/docs/ref/contrib/staticfiles.txt @@ -103,9 +103,8 @@ setting. .. note:: - When using the :class:`AppDirectoriesFinder` finder, make sure your apps can - be found by Django's app loading mechanism. Simply include a ``models`` - module (an empty ``models.py`` file suffices) and add the app to the + When using the :class:`AppDirectoriesFinder` finder, make sure your apps + can be found by staticfiles. Simply add the app to the :setting:`INSTALLED_APPS` setting of your site. Static file finders are currently considered a private interface, and this |
