2009/8/22 Jan Hülsbergen <afo...@gmail.com>:
>
> The root directory of your Django project should be in sys.path
> anyway, so a simple 'import local_cms_settings' should just work. Even
> if not, putting the directory into sys.path is much less evil/hacky
> than using exec/eval.

my project is on sys.path, but if I don't know how it's called, I
don't know where to find it.

For example I have on my path=
/projects (here I have "myproject")
/django_src
/libraries

With import local_cms_settings I have to put the file into /projects
and not into /projects/myproject, as is natural.

-- 
Alessandro Ronchi

SOASI
Sviluppo Software e Sistemi Open Source
http://www.soasi.com

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