Re: Unicode character in Django project path

2015-01-18 Thread Cheng Guo
t; I am new to this community. I have run into an issue related to Unicode >> character in project path: >> >> >> http://stackoverflow.com/questions/27996774/unicode-character-in-django-project-path >> >> Another user on StackOverflow provided a detailed analys

Re: Unicode character in Django project path

2015-01-18 Thread James Schneider
il.com> wrote: > Hello everyone, > > I am new to this community. I have run into an issue related to Unicode > character in project path: > > > http://stackoverflow.com/questions/27996774/unicode-character-in-django-project-path > > Another user on StackOverflow provid

Unicode character in Django project path

2015-01-18 Thread Cheng Guo
Hello everyone, I am new to this community. I have run into an issue related to Unicode character in project path: http://stackoverflow.com/questions/27996774/unicode-character-in-django-project-path Another user on StackOverflow provided a detailed analysis of what is causing the bug

Re: Project path

2012-12-13 Thread Chris Cogdon
Totally agreed... including being the separate repositories. If I check out the framework for use on my desktop I should _not_ be seeing the runtime configuration (including secrets and passwords) for the production systems, and viccyverca. On Thursday, December 13, 2012 9:43:30 AM UTC-8, Tom

Re: Project path

2012-12-13 Thread Tom Evans
On Wed, Dec 12, 2012 at 9:32 PM, Chris Cogdon wrote: > The BIG advantage here is that you're not checking anything into the SCM > that must remain secret, or must change (or very likely to change) between > installations, but all other settings are source controlled. The big

Re: Project path

2012-12-12 Thread Chris Cogdon
Not sure if you're willing to consider an alternate, here, but this is a issue Iv'e gone through a lot, and came up with my own solution. The major issue is that I not only want to change the top level paths, but also need to change database targets and a few other settings, between all the

Re: Project path

2012-12-11 Thread Lachlan Musicman
I don't think I've ever got a more comprehensive and excellent response - cheers L. On Wed, Dec 12, 2012 at 4:25 AM, Bill Freeman wrote: > > > On Mon, Dec 10, 2012 at 8:59 PM, Lachlan Musicman wrote: >> >> Hola, >> >> I've got a split settings set up for my

Re: Project path

2012-12-11 Thread Bill Freeman
On Mon, Dec 10, 2012 at 8:59 PM, Lachlan Musicman wrote: > Hola, > > I've got a split settings set up for my prod/dev sites, and in all the > hints I've seen over the years, I've most appreciated the line at the > top of the settings file that goes like this (there are

Project path

2012-12-10 Thread Lachlan Musicman
Hola, I've got a split settings set up for my prod/dev sites, and in all the hints I've seen over the years, I've most appreciated the line at the top of the settings file that goes like this (there are variations to the theme): BASE_DIR = os.path.dirname(os.path.abspath(__file__)) But almost

Re: Custom commands called outside project path

2010-02-10 Thread Tim Daniel
n't hurt. > > Both of these have the disadvantage of the script needing to know the > path to your > project, but something has to know it. > > Bill > > On Tue, Feb 9, 2010 at 1:34 PM, Tim Daniel <redarrow...@hotmail.com> wrote: > > I'm trying to launch custom

Re: Custom commands called outside project path

2010-02-10 Thread David De La Harpe Golden
(I'm not sure about that "root" in creecode's version. Editing crontab with crontab -e on a linux box has no user specification because it edits the crontab of the invoking user. Perhaps it's different for a directly edited root crontab.) The system-wide /etc/crontab is different to

Re: Custom commands called outside project path

2010-02-09 Thread Bill Freeman
darrow...@hotmail.com> wrote: >> I'm trying to launch custom admin commands with a cron(outside the >> project path). I'm running Django 1.1.1. I've tried to add the -- >> pythonpath='path_to_my_project' option, but it doesn't work either. > > Have you tried something lik

Re: Custom commands called outside project path

2010-02-09 Thread creecode
Hello Tim, On Feb 9, 10:34 am, Tim Daniel <redarrow...@hotmail.com> wrote: > I'm trying to launch custom admin commands with a cron(outside the > project path). I'm running Django 1.1.1. I've tried to add the -- > pythonpath='path_to_my_project' option, but it doesn't work either.

Re: Custom commands called outside project path

2010-02-09 Thread Bill Freeman
row...@hotmail.com> wrote: > I'm trying to launch custom admin commands with a cron(outside the > project path). I'm running Django 1.1.1. I've tried to add the -- > pythonpath='path_to_my_project' option, but it doesn't work either. > > When I call path_to_my_project/manage.py my_co

Re: Custom commands called outside project path

2010-02-09 Thread Tim Daniel
for somebody. On 9 feb, 18:34, Tim Daniel <redarrow...@hotmail.com> wrote: > I'm trying to launch custom admin commands with a cron(outside the > project path). I'm running Django 1.1.1. I've tried to add the -- > pythonpath='path_to_my_project' option, but it doesn't work either.

Custom commands called outside project path

2010-02-09 Thread Tim Daniel
I'm trying to launch custom admin commands with a cron(outside the project path). I'm running Django 1.1.1. I've tried to add the -- pythonpath='path_to_my_project' option, but it doesn't work either. When I call path_to_my_project/manage.py my_command -- pythonpath='path_to_my_project' from