Ticket #24364: 24364_revised.diff

File 24364_revised.diff, 1.3 KB (added by Aksel, 10 years ago)

Diff for ticket #24364

  • AUTHORS

    diff --git a/AUTHORS b/AUTHORS
    index 333787d..0f2ca70 100644
    a b answer newbie questions, and generally made Django that much better:  
    1717    Ahmad Al-Ibrahim
    1818    ajs <adi@sieker.info>
    1919    Akis Kesoglou <akiskesoglou@gmail.com>
     20    Aksel Ethem <aksel.ethem@gmail.com>
    2021    alang@bright-green.com
    2122    Alasdair Nicol <http://al.sdair.co.uk/>
    2223    Albert Wang <aywang31@gmail.com>
  • docs/ref/contrib/staticfiles.txt

    diff --git a/docs/ref/contrib/staticfiles.txt b/docs/ref/contrib/staticfiles.txt
    index 6a365c6..140506c 100644
    a b hashed names for all processed files in a file called ``staticfiles.json``.  
    285285This happens once when you run the :djadmin:`collectstatic` management
    286286command.
    287287
     288Due to the requirement of running :djadmin:`collectstatic`, this storage
     289typically shouldn't be used when running tests as ``collectstatic`` isn't run
     290as part of the normal test setup. During testing, ensure that the
     291:setting:`STATICFILES_STORAGE` setting is set to something else like
     292``'django.contrib.staticfiles.storage.StaticFilesStorage'`` (the default).
     293
    288294.. method:: storage.ManifestStaticFilesStorage.file_hash(name, content=None)
    289295
    290296The method that is used when creating the hashed name of a file.
Back to Top