I used svn propset svn:external so my project (in transition to
another developer when I return to college) can easily use the most
recent version fo Django (and comment_utils, etc). How can I ensure
that the project uses that django module instead of the one found
on /.../python2.X/site-packages (or wherever else).

In settings.py:

# Add 'lib' to PYTHONPATH early in the list
sys.path.insert(1,'../lib')

lib is where my repository stores its external working copies. Here is
the result:

[EMAIL PROTECTED]:~/projects/llcom-dev/llcom$ python manage.py shell
Python 2.5.1 (r251:54863, Oct  5 2007, 13:36:32)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import django
>>> django.__file__
'/usr/lib/python2.5/site-packages/django/__init__.pyc'

Any help is greatly appreciated!

Thanks,
Ryan Kaskel
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to