Re: Changing Field names...

2006-12-28 Thread Kenneth Gonsalves
On 29-Dec-06, at 5:54 AM, mediumgrade wrote: Alright, I have a simple Work Order entry system. I want to add a boolean field to the system. How is this done if there is already data in the system? Can I just add it to the model, then run syncdb? Should I add it to the model, then manually add

Re: Changing Field names...

2006-12-28 Thread Kenneth Gonsalves
On 29-Dec-06, at 6:15 AM, ElGranAzul wrote: But it will ERASE ALL your data doesnt touch the admin part -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed t

Re: Changing Field names...

2006-12-28 Thread ElGranAzul
With syncdb your model/table will be not updated. To upate your model and database tables you should use: # python manage.py reset yourapp But it will ERASE ALL your data. It could be a problem, but with a bit of old SQL it can be easily done.You could, for example, export all data from databas