Denigma
• December 30, 2012 • ⏱️ 1 min read • 83 words
Tutorial #django #storage #web

Static Files

Static Files are such files that usually do not change (images, CSS, Javascript, etc.) and are needed to render a complete web page.

The following command collects all static files from different application installed in a web project (i.e. those that are defined in settings.STATICFILES_DIRS into a single location (defined by settings.STATIC_ROOT) that can easily be served:

./manage.py collectstatic

S3 is great place to store such kind of data, as it is exemplified by the Gallery for Images.

100%