Change: Static Files

created on Dec. 30, 2012, 5:32 p.m. by Hevok & updated on Dec. 30, 2012, 5:32 p.m. by Hevok

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.

media_http.jpg

Tags: web, django, storage
Categories: Tutorial
Parent: Web Framework

Comment: Created entry.

See entry | Admin

Comment on This Data Unit