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 <kmtra...@gmail.com> wrote: > On Wed, Feb 4, 2009 at 10:46 AM, phyl.jack...@gmail.com < > > phyl.jack...@gmail.com> wrote: > > > 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 method Ive been using during development is to just delete > > my database file and recreate it, Im obviously not going to be able to > > continue to do this. > > > Say you wanted to add a field to an existing model on a running > > website, what is the correct and safest way to go about doing this? > > Well, you can just manually issue the SQL commands to keep your DB in sync > with your changed models, but that is a bit of a pain and may be difficult > if you are not already familiar with databases. Alternatively, there are > various external projects that aim to help in this area. This recent post > by Russell contains pointers to them and described what the long-term goal > for Django is in this area: > > http://groups.google.com/group/django-users/msg/201f3e9b4422c198 > > Karen --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---