On Fri, Jun 22, 2007 at 06:32:51PM +0300, KpoH wrote: > > put in your "mysite_classes" directory empty file named __init__.py > it will indicate that this is python module, and from now you can import > it, or it's contents.
Thanks ut this is not what I was looking for. I know how to import a module what I don't know is ho to *refer to that module*. (And I already have __init__.py since it is built there by django-admin and is necessary to import settings.py.) In an application called myapp.settings can be referenced as: import myapp.settings or (not exactly the same thing): from django.conf import settings the latter is general and does not require you know in advance the name of your application. What I need is a way to import from my project w/o knowing the name of the project. sandro *:-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---

