Generated: Wed 2013-03-13 10:33 CET
Source file: /media/Envs/Envs/filer-gallery/lib/python2.7/site-packages/filer/storage.py
Stats: 0 executed, 4 missed, 1 excluded, 16 ignored
#-*- coding: utf-8 -*-
from django.core.files.storage import FileSystemStorage
class PublicFileSystemStorage(FileSystemStorage):
"""
File system storage that saves its files in the filer public directory
See ``filer.settings`` for the defaults for ``location`` and ``base_url``.
"""
is_secure = False
class PrivateFileSystemStorage(FileSystemStorage):
"""
File system storage that saves its files in the filer private directory.
This directory should NOT be served directly by the web server.
See ``filer.settings`` for the defaults for ``location`` and ``base_url``.
"""
is_secure = True