What will happen when a model I modified get saved.

2011-02-20 Thread Christan
See the model below, class Foo(models.Model): x = model.IntegerField() Also, a class as follows class Bar(Object): y = 1212121L - Now, If I modified above Foo like this class Foo(models.Model):

Re: What will happen when a model I modified get saved.

2011-02-20 Thread Shawn Milochik
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 field

Re: What will happen when a model I modified get saved.

2011-02-20 Thread Christan
1) That was a typo, forget it. 2) This answers my question, Thanks :) 3) I know this, but haven't tried South yet. BTW., Thank you for your time > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: What will happen when a model I modified get saved.

2011-02-20 Thread delegbede
- From: Shawn Milochik Sender: django-users@googlegroups.com Date: Sun, 20 Feb 2011 14:30:04 To: 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 'Objec

Re: What will happen when a model I modified get saved.

2011-02-20 Thread Shawn Milochik
On Sun, Feb 20, 2011 at 5:33 PM, wrote: > 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 wirele