mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
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
This commit is contained in:
parent
6c361ecb17
commit
645eb2b26b
6 changed files with 75 additions and 96 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue