Re: Looking for best practices regarding Development and production server paths

2013-03-21 Thread DJ-Tom
Am Donnerstag, 21. März 2013 13:04:53 UTC+1 schrieb Tom Evans: > > In my settings.py, I set the path to the project template folder and > project static files like so: > > import os.path > ROOT = os.path.abspath(__file__).rsplit(os.path.sep, 2)[0] > TEMPLATE_DIRS = ( > os.path.join(ROOT, '

Re: Looking for best practices regarding Development and production server paths

2013-03-21 Thread DJ-Tom
> > On Thu, Mar 21, 2013 at 5:05 PM, DJ-Tom >wrote: > Simple, you maintain two settings.py files, make one with Dev_settings.py > and two with Prod_settings.py. > You can run dev and production applications like this > > python manage.py runserver --settings=Dev_settings > > python manage.p

Re: Looking for best practices regarding Development and production server paths

2013-03-21 Thread Tom Evans
On Thu, Mar 21, 2013 at 11:35 AM, DJ-Tom wrote: > Hi, > > I'm still a beginner and currently I'm trying to get more familiar with > Django. > > I'm looking for any more detailed best-practices-type description on how the > development cycle is meant to be managed. > > In settings.py, there are pat

Re: Looking for best practices regarding Development and production server paths

2013-03-21 Thread Sreenivas Reddy T
On Thu, Mar 21, 2013 at 5:05 PM, DJ-Tom wrote: > Hi, > > I'm still a beginner and currently I'm trying to get more familiar with > Django. > > I'm looking for any more detailed best-practices-type description on how > the development cycle is meant to be managed. > > In settings.py, there are pat

Looking for best practices regarding Development and production server paths

2013-03-21 Thread DJ-Tom
Hi, I'm still a beginner and currently I'm trying to get more familiar with Django. I'm looking for any more detailed best-practices-type description on how the development cycle is meant to be managed. In settings.py, there are paths like TEMPLATE_DIRS and STATICFILE_DIRS, how is this suppos