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'
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
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
3 matches
Mail list logo