Thanks guys - I found the problem. It required the following in
manage.py ...
import os, sys
if __name__ == "__main__":
SRC_ROOT =
os.path.realpath(os.path.dirname(__file__)).replace('\\','/')
PROJECT_ROOT = os.path.split(SRC_ROOT)[0].replace('\\','/')
sys.path.append(PROJECT_RO
This is why linux is the best os. If anything goes wrong, you can
blame it on linux :)
1) make sure you are really using django1.4a in server (from django
import VERSION). maybe you installed multiple versions of django and
using the wrong one (you might have 1.2.x on system and 1.4a on
virtualenv
Make sure the staticfiles app is in your INSTALLED_APPS setting. That'd be
my first guess. If it is, do a manage.py console and try importing it to
make sure that the django environment can see it.
-- Jeff
On Tue, Jan 10, 2012 at 1:22 AM, Mike Dewhirst wrote:
> The manage.py collectstatic subc
The manage.py collectstatic subcommand doesn't exist on my Linux staging
server but it does exist (and works) on my Win XP development machine.
I'm using exactly the same settings.py on both machines.
On Linux, in a Python interpreter I can do ...
>>>from django.contrib import staticfiles
>>>
4 matches
Mail list logo