On Jan 31, 11:15 pm, Thomas <[EMAIL PROTECTED]> wrote: > 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
I keep all the Django files under /Library/Python/2.5/site-packages/, admin templates and code and everything, and that's never given me any trouble. Static content I serve from the built-in Apache, symlinking to the admin static stuff in the django package, and then my actual projects live in various places in my home directory. Running the development server out of those project directories works perfectly. It seems simple enough, though I had a bear of a time getting everything working at first, can't quite remember why, now... Eric --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

