Re: django configuration on win/linux

2009-12-24 Thread Benjamin Welton
Thanks for the quick response, I figured i would have to do something similar to what you mentioned. I just wanted to make sure there wasent a specific way it should be done when using django. Ben Łukasz Balcerzak wrote: > Hi, > > For relative paths, os.path module will do the trick - it is pla

Re: django configuration on win/linux

2009-12-24 Thread Łukasz Balcerzak
Hi, For relative paths, os.path module will do the trick - it is platform independent. Use os.path's ``join``/``split`` methods and ``sep`` attribute. If you are depending on absolute paths (which probably for both platforms would just differ) you may simply call platform.system() and write a s

django configuration on win/linux

2009-12-24 Thread Benjamin Welton
Hey all, Im fairly new to django and iv got a quick question on what the proper way to set up a django web application is when in a cross platform deployment environment (such as setting up paths, ect). Im currently using the Apache wsgi -> django connector on both environments. Im thinkin