Re: Struggling with static files

2012-10-22 Thread DJ-Tom
Am Montag, 22. Oktober 2012 12:06:44 UTC+2 schrieb DJ-Tom: > > If I add this to STATICFILES_DIR: > > '/el_test/static' > > AHHH - I was missing the trailing comma after the path name... so STATICFILES_DIR was not a valid list. Everthing's fine now. Thanks anyways :-) Thomas -- You

Re: Struggling with static files

2012-10-22 Thread DJ-Tom
Am Montag, 22. Oktober 2012 11:19:42 UTC+2 schrieb Xavier Ordoquy: > > Hi, > > Your static folder should be declared in STATICFILES_DIRS if you want him > to be served (see > https://docs.djangoproject.com/en/1.4/howto/static-files/#basic-usage about > that). > > > All the documentation

Re: Struggling with static files

2012-10-22 Thread Xavier Ordoquy
Le 22 oct. 2012 à 11:25, Pervez Mulla a écrit : > something like this in your setting.py > > STATIC_ROOT = ''/home/john/yourprojectdir/yourappdir/staic/" This is precisely what you shouldn't do. The STATIC_ROOT is where files are copied to for production using the

Re: Struggling with static files

2012-10-22 Thread Pervez Mulla
something like this in your setting.py STATIC_ROOT = ''/home/john/yourprojectdir/yourappdir/staic/" On Mon, Oct 22, 2012 at 2:48 PM, Xavier Ordoquy wrote: > Hi, > > Your static folder should be declared in STATICFILES_DIRS if you want him > to be served (see >

Re: Struggling with static files

2012-10-22 Thread Xavier Ordoquy
Hi, Your static folder should be declared in STATICFILES_DIRS if you want him to be served (see https://docs.djangoproject.com/en/1.4/howto/static-files/#basic-usage about that). Please take care to give another name to STATIC_ROOT for production settings. Regards, Xavier Ordoquy, Linovia.

Re: Struggling with static files

2012-10-22 Thread Pervez Mulla
Give path to your STATIC_ROOT of your static folder. Pervez On Mon, Oct 22, 2012 at 2:26 PM, DJ-Tom wrote: > Hi, > > I'm fairly new with Django and currently I'm only "playing around" to get > a better feeling for the framework. > > I have read the documentation and

Struggling with static files

2012-10-22 Thread DJ-Tom
Hi, I'm fairly new with Django and currently I'm only "playing around" to get a better feeling for the framework. I have read the documentation and almost all of the posts here about configuring static files with the development server but can't get it working. I wanted to modify the admin