I keep both django versions/branches and projects at the same level.
My directory structure looks like:

django_gis
django_0.97-pre
etc ...
Project1
Project2
etc ...

I symlink then an apropriate django version from within a project as
"django". This allows me flexibility in both switching python and/or
django versions.

Not sure if this is the best way to do it.

Regards, Thomas


On Jan 31, 4:05 pm, omat <[EMAIL PROTECTED]> wrote:
> When I install Django on Leopard, py files went into:
> /System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/
> site-packages/django/
>
> And template htmls, etc. went into:
> /Library/Python/2.5/site-packages/django/
>
> This resulted in some weird behavior such as templates of contrib
> applications such as admin not being located.
>
> My patch for this was to create a symlink as follows:
> sudo ln -s /System/Library/Frameworks/Python.framework/Versions/2.5/
> lib/python2.5/site-packages /Library/Python/2.5/site-packages
>
> and then install Django.
>
> Thought this may save some time for ones having this problem.
>
> I would like to hear if there are any better approaches.
>
> oMat
--~--~---------~--~----~------------~-------~--~----~
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