On Thursday, November 22, 2012, Peter Edström wrote: > *Lachlan Musicman:* > You recommend using virtualenv. Why and in what scenarios? If I understand > it correctly, virtualenv sets up a virtual python environment galvanically > isolated from the rest of the system and I see how this let you go crazy > and experiment without risking anything. Is this the main reason why people > use it or are there other reasons? >
People have already said it, but the stability is definitely a factor. I run Ubuntu, so Django isn't always installed the way I want it to be. Plus, other considerations come into force - I remember at one stage (maybe still) the ppa for the e-reader software calibre had a dependency on django, which would often mean there were two djangos installed - this can be confusing. Virtualenv (and virtualenvwrapper) keeps everything tightly contained, and that's handy. Also, once you are using pip inside virtualenv, you have the same advantages - everything you install inside the VE with pip will be contained. And to repeat again what others have said, it makes re-deployment a lot easier. > *Issam Outassourt*: > Thanks for the summary of the major components of Django. I've read about > models, views, templates et c and played around with them some, but it's > very easy to get stuck on details and forget the big picture. The > methodology you describe seems quite simple and straight-forward and I > guess it all comes down to what I guess is your (and Lachlan's) point: get > busy and learn on the way. > Yeah, I read the docs a dozen times before I started - and it didn't help nearly so much as just starting (on a non tutorial project). Note that I still read the docs (they are comprehensive and excellent) daily, depending on needs. > Thank you for the replies. > No hassles - that's what we are here for! -- ...we look at the present day through a rear-view mirror. This is something Marshall McLuhan said back in the Sixties, when the world was in the grip of authentic-seeming future narratives. He said, “We look at the present through a rear-view mirror. We march backwards into the future.” http://www.warrenellis.com/?p=14314 -- 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.