I think I might have bitten off more than I can chew here, heh, and I
need some help. I just finished my project and it looks awesome on my
computer at home (running Ubuntu Intrepid). But before I deployed it,
I decided I didn't like the retarded name I gave the project and I
wanted to change it. No problem, I just did this in the project
directory:

$ find ./ -type f -exec perl -pi -e 's/oldname/newname/g' {} \;

Worked like a charm, I've gone through and all the instances have been
replaced. Changed the name of my sqlite db instead of changing back
the path to the db in settings.py.

Only now when I run:

$ python manage.py shell

or anything like that, it raises ImportError the first time it hits
one of my applications in the INSTALLED_APPS list. I looked at the
code of manage.py and all it seems to do is import settings, it isn't
obviously adding the project directory to sys.path. That seems to be
the key missing element here. Aside from hacking my manage.py file to
make it do what I think it should, how does Django normally figure out
how to import project modules? What did I miss in my find/replace?

Thanks!

Stephen
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to