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 a
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 also run sqldiff django comm
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 subscribed to the Google Groups
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 table:
http://dev.mysql.com/
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: http://harjotmann.wordpress.com/
--
You received
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 and then run the syncdb ag
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 alternative, it creates table fiel
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
8 matches
Mail list logo