If I'm understanding you correctly, you want to serve static files the 
'standard' way (directly from the Arches app using Whitenoise) and serve 
uploaded files from Azure Blob Storage?
I do the same at the moment. For that, use: 
DEFAULT_FILE_STORAGE='storages.backends.azure_storage.AzureStorage'
and
STATICFILES_STORAGE = 'whitenoise.storage.CompressedStaticFilesStorage'

(together with the other appropriate settings for Azure and Whitenoise, 
that you probably already have).

Does that make sense?


On Wednesday, 17 October 2018 23:04:35 UTC+2, Lawrence Goh wrote:
>
> Hi Vincent,
>
> Thanks for that link.  Will need to figure to adapt it for Azure use.
>
> Besides that, I noticed it loads all the static files into the blob.  Was 
> thinking to have the static files be in the container.  Only push the 
> uploaded 'media files' into the blob.  I guess it doesn't do that right? :)
>
> Thanks.
>
> Regards,
> Lawrence
>
> On Thu, Oct 18, 2018 at 2:12 AM Vincent Meijer <[email protected] 
> <javascript:>> wrote:
>
>> The collectfast package looks promising: 
>> https://stackoverflow.com/questions/16805232/faster-alternative-to-manage-py-collectstatic-w-s3boto-storage-backend-to-syn
>>
>> -- 
>> -- To post, send email to [email protected] <javascript:>. To 
>> unsubscribe, send email to [email protected] <javascript:>. 
>> For more information, visit 
>> https://groups.google.com/d/forum/archesproject?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Arches Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to