Re: 1.5.4 /static/ serving 500 error

2013-10-30 Thread Thomas Murphy
Hi Mike, Thank you for the answer. You're right about the directory structuring, and quoting the BDFL's "Better Explicit than Implicit". For future reference(and list archive), the solution is this: Remove (STATIC_ROOT,) from this line: STATICFILES_DIRS = (STATIC_ROOT,) The root directory for

Re: 1.5.4 /static/ serving 500 error

2013-10-24 Thread Mike Dewhirst
On 25/10/2013 6:14am, Thomas Murphy wrote: Hi all, with structure |myproject |---static |---picture.jpg |--myproject ---settings.py This could be improved in the sense that Django projects usually consist of one or more apps - like this ... |myproject |---static | (empty unt

1.5.4 /static/ serving 500 error

2013-10-24 Thread Thomas Murphy
Hi all, with structure |myproject |---static |---picture.jpg |--myproject ---settings.py settings.py import os MYPROJECT_PATH = os.getcwd() DEBUG = True *** STATIC_ROOT = os.path.join(MYPROJECT_PATH, 'static') STATIC_URL = '/static/' STATICFILES_DIRS = (STATIC_ROOT,) in Django 1.