Re: DEFAULT_FILE_STORAGE settings conflict

2009-02-27 Thread Jackson Torres
Thanx Alex :) On Thu, Feb 26, 2009 at 6:38 PM, Alex Gaynor wrote: > > > On Thu, Feb 26, 2009 at 6:13 PM, jacks...@gmail.com < > jackson.torr...@gmail.com> wrote: > >> >> I try to make my own custom storage like: >> >> from django.core.files.storage import Storage >> >> CUSTOM_MEDIA_ROOT = 'blah'

Re: DEFAULT_FILE_STORAGE settings conflict

2009-02-26 Thread Alex Gaynor
On Thu, Feb 26, 2009 at 6:13 PM, jacks...@gmail.com < jackson.torr...@gmail.com> wrote: > > I try to make my own custom storage like: > > from django.core.files.storage import Storage > > CUSTOM_MEDIA_ROOT = 'blah' > CUSTOM_MEDIA_URL = 'bleh' > > > class MediaStorage(Storage): >def __init__(se

DEFAULT_FILE_STORAGE settings conflict

2009-02-26 Thread jacks...@gmail.com
I try to make my own custom storage like: from django.core.files.storage import Storage CUSTOM_MEDIA_ROOT = 'blah' CUSTOM_MEDIA_URL = 'bleh' class MediaStorage(Storage): def __init__(self, location=CUSTOM_MEDIA_ROOT, base_url=CUSTOM_MEDIA_URL, *args, **kwargs): sup