diff options
author | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-08-04 13:57:10 +0000 |
---|---|---|
committer | rfkelly0 <rfkelly0@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-08-04 13:57:10 +0000 |
commit | 5499a3b2e801494bd26fee886dd860ddf418e434 (patch) | |
tree | babc1915e933617ecd84c36055c8de46411b9d3c /fs/expose/django_storage.py | |
parent | a125c6cfd5b48888a3994976ba268fe8c93e2ec3 (diff) | |
download | pyfilesystem-git-5499a3b2e801494bd26fee886dd860ddf418e434.tar.gz |
basic module docs for fs.expose.django_storage
Diffstat (limited to 'fs/expose/django_storage.py')
-rw-r--r-- | fs/expose/django_storage.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/fs/expose/django_storage.py b/fs/expose/django_storage.py index 2886acf..f44e25e 100644 --- a/fs/expose/django_storage.py +++ b/fs/expose/django_storage.py @@ -4,6 +4,14 @@ fs.expose.django Use an FS object for Django File Storage +This module exposes the class "FSStorage", a simple adapter for using FS +objects as Django storage objects. Simply include the following lines +in your setttings.py:: + + DEFAULT_FILE_STORAGE = fs.expose.django_storage.FSStorage + DEFAULT_FILE_STORAGE_FS = OSFS('foo/bar') # Or whatever FS + + """ from django.conf import settings |