I have, in a local directory, a django project that works
fine when I run it from a local django server, as in
python manage.py runserver.py 8000
But if I clone the local git repository where this project
lives (and which is up-to-date), like this:
git clone my_django_project my_django_project_clone
and I try the same command above from the clone's directory, the
server fails immediately:
Error: No module named xyz
The server produces no other output at all, even when I run it
with the -v 3
flag.
Is there any way to get more diagnostic information on why
this (supposedly) identical clone of a working django site is
failing?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…