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
>>>
... but when I type
$/usr/bin/python /srv/www/proj/manage.py help
... it returns a list of available subcommands[1] without collectstatic
in the list.
Win XP 32-bit
Python 2.7
Django 1.4a
Linux 64-bit
Python 2.6
Django 1.4a
The application itself runs under Apache on the Linux staging server if
I manually copy all the static files to the STATIC_ROOT directory.
Any hints appreciated
Thanks
Mike
[1]
Available subcommands:
cleanup
compilemessages
createcachetable
dbshell
diffsettings
dumpdata
flush
inspectdb
loaddata
makemessages
reset
runfcgi
runserver
shell
sql
sqlall
sqlclear
sqlcustom
sqlflush
sqlindexes
sqlinitialdata
sqlreset
sqlsequencereset
startapp
startproject
syncdb
test
testserver
validate
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 comments:
Post a Comment