From 645eb2b26b01520d7e98cb3c2f671e254571a090 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Sat, 15 Jan 2011 23:38:00 +0000 Subject: 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 --- docs/ref/contrib/staticfiles.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'docs') 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 -- cgit v1.3