Re: Static files won't match the path given

2019-05-12 Thread Joe Reitman
Configuring static files can be a headache. I personally use Whitenoise to serve my static files. It is self contained and can be configured in Django settings after installation. A couple of advantages of Whitenoise: 1. During development you can overri

Re: Static files won't match the path given

2019-05-10 Thread Rookies DJ
Dear Anirudh Jain Thank you for reply Really, apprentice it Yes we run collectstaitc command And we try within setting.py files Set path static_root/url as the same As for web server software we using apache not nigx. I apologize for not including this information Really appreciate if you

Re: Static files won't match the path given

2019-05-10 Thread Mike Dewhirst
Have you used manage.py collectstatic? Connected by Motorola Rookies DJ wrote: >I apologise, I'm a hardware engineer, I'm not very familiar with coding; I'm >only on Django for the past 5 months. (under my boss order) > > >I had managed to develop and establish a Django App, and manage to uplo

Re: Static files won't match the path given

2019-05-10 Thread Anirudh Jain
On server you will have to run - python manage.py collectstatic and this is after you have setup nginx for serving static files on the server. Have you set it up yet? On Sat, 11 May 2019, 10:54 Rookies DJ, wrote: > I apologise, I'm a hardware engineer, I'm not very familiar with coding; > I'm on

Static files won't match the path given

2019-05-10 Thread Rookies DJ
I apologise, I'm a hardware engineer, I'm not very familiar with coding; I'm only on Django for the past 5 months. (under my boss order) I had managed to develop and establish a Django App, and manage to upload it to remote server *NameCheap*. There on the server, the issue is unable to locate