Hey Shawn, I have been opportuned to have south installed on my pc but I must confess I have never understood its use. Now that its being mentioned in here, I think I am going to get into it and understand its use. Sent from my BlackBerry wireless device from MTN
-----Original Message----- From: Shawn Milochik <sh...@milochik.com> Sender: django-users@googlegroups.com Date: Sun, 20 Feb 2011 14:30:04 To: <django-users@googlegroups.com> Reply-To: django-users@googlegroups.com Subject: Re: What will happen when a model I modified get saved. First, what are you trying to do? 1. The code you posted is not valid Python, because 'Object' is capitalized. So you haven't actually even tried this, or it would have blown up. 2. Adding 'y' to your subclass of Model does nothing with the database, because y is not a subclass of one of the fields the model class provides. 3. If you've created your database already using syncdb and then changed the model, your database won't change. You need to use South or destroy and re-create the database. Shawn -- 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. -- 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.