Re: Trouble with CSS/Static Files

2013-04-04 Thread Mike Dewhirst
On 5/04/2013 2:33pm, Vibhu Rishi wrote: Hi, >Have you ran >$ manage.py collectstatic Can you explain why I need to do this on my dev machine when I am not deploying it to production ? If I look at the docs at https://docs.djangoproject.com/en/dev/howto/static-files/#deployment , it mentio

Re: Trouble with CSS/Static Files

2013-04-04 Thread Vibhu Rishi
Hi, >Have you ran >$ manage.py collectstatic Can you explain why I need to do this on my dev machine when I am not deploying it to production ? If I look at the docs at https://docs.djangoproject.com/en/dev/howto/static-files/#deployment , it mentions that I need to run this to deploy it. However

Re: Trouble with CSS/Static Files

2013-04-04 Thread CJ Milholland
Have you ran $ manage.py collectstatic On Thursday, April 4, 2013 12:49:11 AM UTC-7, Vibhu Rishi wrote: > > I am not sure where I am going wrong, but the CSS files are just not > getting picked up. I have just started a project and am using the dev > server with the runserver command. > > Her

Re: Trouble with CSS/Static Files

2013-04-04 Thread Vibhu Rishi
Thanks Tom, your post got me thinking ! If the problem was the pathing then using the absolute path should have worked. So , I put in STATIC_ROOT="/home/vibhu/Programming/qj/static/" But that still did not work - which means that I was still doing something wrong. Finally, it hit me - I was using

Re: Trouble with CSS/Static Files

2013-04-04 Thread Vibhu Rishi
Hi Jack, Template is fine as the Hello World is getting rendered correctly. I also get the 200 for / Vibhu On Thu, Apr 4, 2013 at 6:33 PM, Jacky Tedy wrote: > it looks like you don't have the right template ! You sure you have the > right path? > > > 2013/4/4 Vibhu Rishi > >> I am not sure w

Re: Trouble with CSS/Static Files

2013-04-04 Thread Tom Evans
On Thu, Apr 4, 2013 at 8:49 AM, Vibhu Rishi wrote: > I am not sure where I am going wrong, but the CSS files are just not getting > picked up. I have just started a project and am using the dev server with > the runserver command. > > Here's my relevant settings.py : > > > STATIC_ROOT = os.path.jo

Re: Trouble with CSS/Static Files

2013-04-04 Thread Jacky Tedy
it looks like you don't have the right template ! You sure you have the right path? 2013/4/4 Vibhu Rishi > I am not sure where I am going wrong, but the CSS files are just not > getting picked up. I have just started a project and am using the dev > server with the runserver command. > > Here's

Trouble with CSS/Static Files

2013-04-04 Thread Vibhu Rishi
I am not sure where I am going wrong, but the CSS files are just not getting picked up. I have just started a project and am using the dev server with the runserver command. Here's my relevant settings.py : STATIC_ROOT = os.path.join(os.path.dirname(__file__),'/static/') STATIC_URL = '/static/'