Re: Need help with CDN on Django App using heroku

2018-10-22 Thread Andrew Pinkham
On Oct 22, 2018, at 11:53, Akash Purandare wrote: > However the issue is not with Whitenoise. Whitenoise can be used to serve > static files, yes. But how do I use it to serve media assets in the project? Sorry, missed the media part. Michal is right, you will need to install and configure djan

Re: Need help with CDN on Django App using heroku

2018-10-22 Thread Akash Purandare
Thank you for the fast reply. However the issue is not with Whitenoise. Whitenoise can be used to serve static files, yes. But how do I use it to serve media assets in the project? On Monday, October 22, 2018 at 9:11:02 PM UTC+5:30, Andrew Pinkham wrote: > > https://devcenter.heroku.com/articles

Re: Need help with CDN on Django App using heroku

2018-10-22 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Mon, Oct 22, 2018 at 08:38:25AM -0700, Akash Purandare wrote: > I am trying to serve both static and media files on Heroku by using an S3 > bucket, but I do not know how to properly configure the settings.py for the > same. > Does anyone know ho

Re: Need help with CDN on Django App using heroku

2018-10-22 Thread Andrew Pinkham
https://devcenter.heroku.com/articles/django-assets http://whitenoise.evans.io/en/stable/django.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users