> > Use virtualenvs. That's basic for any serious python development > > you'll want to do. > > Totally agree. Setting up virtualenv's are our long term goal.
really, it should be your SHORT term goal. As for your problem, you can't expect to install FOOAPP in two different directories on the same environment (system global, in this case) and expect that to work OK. You're supposed to install that just once, and USE it from different projects, if that's what you want to do. Also, if you're installing in the global system python installation, you should not put them under any single project's directory, but rather somewhere outside them, because otherwise you'll end up with modules that can be reached from two different paths (FOOAPP and ProjectA.FOOAPP) and that's bad. Doing that will probably end you up with the templates problem in BOTH projects, but at least you'll have consistent behaviour. Now for the templates. If you're making a reusable app and providing templates with it, you should do your best to make the templates reusable as well. The standard procedure is to have them under an <appname> directory like this: AppDir/templates/appname/TemplateFiles.html so the idea is that if you need special modifications for a project, you can put your special templates in your project's templates/appname/ directory, and the template loader will find your local templates before it falls back to the app's directory. I hope that's clear enough. Also, make sure your app has a MANIFEST for setup.py to be able to install non-python files (e.g.: your templates) when you install it without the -e option. Look at the distutils docs for more details -- "The whole of Japan is pure invention. There is no such country, there are no such people" --Oscar Wilde |_|0|_| |_|_|0| |0|0|0| (\__/) (='.'=)This is Bunny. Copy and paste bunny (")_(") to help him gain world domination. -- 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. Visit this group at http://groups.google.com/group/django-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.