Hi, For deployment to production, I package my Django app into an RPM package. The install script is responsible for installing dependencies, copying files, etc. Now that I've switched to Django 1.3 I also want to run the collectstatic command as part of the deployment script. To do this, I've added the following to the spec:
%post # collect static files %{__python} %{installpath}/src/scam/manage.py collectstatic --noinput The problem is that the command doesn't run from inside RPM. Running with -vv, I can see python being kicked off and I actually get a couple of standard warning messages from Django. That's it, though. There is no list of files being copied and in the end, the static directory isn't being created/populated. Has anyone successfully tried incorporating collectstatic into an RPM- based deployment? RHEL 5.5 RPM 4.4.2.3 Python 2.6 Django 1.3.1 Thanks Dmitry -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.