Re: Custom django-admin commands help?

2009-02-22 Thread phyl.jack...@gmail.com
Thanks Daniel, your guess was correct Id left out the handle stuff competely. It appears to be working perfectly now! Phil On 22 Feb, 13:21, Daniel Roseman wrote: > On Feb 22, 1:00 pm, "phyl.jack...@gmail.com" > wrote: > > > > > I have a little custom script t

Custom django-admin commands help?

2009-02-22 Thread phyl.jack...@gmail.com
I have a little custom script that changes some database stuff and sends an email - I want to set it to run on a cron job. So Ive been trying to set it up as a custom django-admin command, Ive been trying to use this little bit of info- http://docs.djangoproject.com/en/dev/howto/custom-managemen

Re: Changing the structure of an already running site

2009-02-04 Thread phyl.jack...@gmail.com
Thanks Karen, that post is exactly what I was after. I can go and set one of those projects up if I need to. Phil On 4 Feb, 15:53, Karen Tracey wrote: > On Wed, Feb 4, 2009 at 10:46 AM, phyl.jack...@gmail.com < > > phyl.jack...@gmail.com> wrote: > > > Im fairly

Changing the structure of an already running site

2009-02-04 Thread phyl.jack...@gmail.com
Im fairly new to django and new to databases in general and Im just trying to work out how Im going to make changes to my website once its up and running. Im using mySQL, any time i add a field to one of my models I run syncdb but any calling already created users or comments causes an error. The