Re: new field in models

2013-07-24 Thread Christian Erhardt
I'd go with Satinderpal Singh advice. Use South. It takes some time to get used to it, but when you realize how it's working, it absolutely awesome Am Montag, 22. Juli 2013 09:53:00 UTC+2 schrieb Harjot Mann: > > In django when we add a new field in existing class, we need to drop > the table

Re: new field in models

2013-07-23 Thread Serdar Dalgic
On Mon, Jul 22, 2013 at 10:53 AM, Harjot Mann wrote: > In django when we add a new field in existing class, we need to drop > the table and then run the syncdb again. Is there any alternative for > it so that we can add the field without dropping the table?? > You can

Re: new field in models

2013-07-22 Thread Harjot Mann
On Mon, Jul 22, 2013 at 2:33 PM, Satinderpal Singh wrote: > South is an alternative, it creates table fields without syncdb. Ok, you didn't tell me before. -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ -- You received this message because you are

Re: new field in models

2013-07-22 Thread Larry Martell
On Mon, Jul 22, 2013 at 1:53 AM, Harjot Mann wrote: > In django when we add a new field in existing class, we need to drop > the table and then run the syncdb again. Is there any alternative for > it so that we can add the field without dropping the table?? Use alter

Re: new field in models

2013-07-22 Thread Harjot Mann
On Mon, Jul 22, 2013 at 2:11 PM, Floor Tile wrote: > Hello Harjot > > I think you should look at South: south.aeracode.org/ > > For the docs you can go to: south.readthedocs.org/ > > Hope it helps Hello Floor, thanks. -- Harjot Kaur Mann Blog:

Re: new field in models

2013-07-22 Thread Floor Tile
Hello Harjot I think you should look at South: south.aeracode.org/ For the docs you can go to: south.readthedocs.org/ Hope it helps On Mon, Jul 22, 2013 at 9:53 AM, Harjot Mann wrote: > In django when we add a new field in existing class, we need to drop > the table

Re: new field in models

2013-07-22 Thread Satinderpal Singh
On Jul 22, 2013 1:23 PM, "Harjot Mann" wrote: > > In django when we add a new field in existing class, we need to drop > the table and then run the syncdb again. Is there any alternative for > it so that we can add the field without dropping the table South is an

new field in models

2013-07-22 Thread Harjot Mann
In django when we add a new field in existing class, we need to drop the table and then run the syncdb again. Is there any alternative for it so that we can add the field without dropping the table?? -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ -- You received this message because