Re: Unicode character in Django project path

2015-01-18 Thread Cheng Guo
oding/decoding that in not aware of. > > Search through https://code.djangoproject.com/search and see if another > ticket already exists. > > -James > On Jan 18, 2015 7:05 PM, "Cheng Guo" > > wrote: > >> Hello everyone, >> >> I am new to

Re: Unicode character in Django project path

2015-01-18 Thread James Schneider
lo 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 w

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 in the

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 E

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 disadvantage is that

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 dif

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 prod/dev sites, and in all the >> hint

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 variations to > the theme)

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 a

Re: Custom commands called outside project path

2010-02-10 Thread Tim Daniel
;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 wrote: > > I'm trying to launch custom admin commands with acron(outsid

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 individu

Re: Custom commands called outside project path

2010-02-09 Thread Bill Freeman
e: >> 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 somethin

Re: Custom commands called outside project path

2010-02-09 Thread creecode
Hello Tim, On Feb 9, 10:34 am, Tim Daniel 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

Re: Custom commands called outside project path

2010-02-09 Thread Bill Freeman
Tim Daniel 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

Re: Custom commands called outside project path

2010-02-09 Thread Tim Daniel
useful for somebody. On 9 feb, 18:34, Tim Daniel 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 eit

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 -- python