Re: Database doubt

2011-07-26 Thread Mike Dewhirst
As someone else said to another person today - use South http://south.aeracode.org/docs/about.html It will read your updated models and apply the changes to the database. It is brilliant. Mike On 27/07/2011 6:20am, Gmail - neonmark wrote: On 7/26/2011 11:50 PM, vaibhav agarwal wrote: Hey,

Re: Database doubt

2011-07-26 Thread Gmail - neonmark
its also explained quite well how to do this manually - simply follow the tutorial on the site. https://docs.djangoproject.com/en/1.3/ On 7/26/2011 11:50 PM, vaibhav agarwal wrote: Hey, I am coding in django for the first time and I had this doubt about database.At the start of coding , you a

Re: Database doubt

2011-07-26 Thread Kirill Spitsin
On Tue, Jul 26, 2011 at 04:50:27AM -0700, vaibhav agarwal wrote: > Hey, > > I am coding in django for the first time and I had this doubt about > database.At the start of coding , you are not sure of all the fields > in the models of your site. So you end up making a few fields and > proceed . But

Re: Database doubt

2011-07-26 Thread nicolas HERSOG
Hi, I'm a beginner like you, and my database model is not over yet. When i add new field in my models.py i make a python manage.py sqlall retrieve the sql and make manually the alter table. Hope this help On Tue, Jul 26, 2011 at 1:50 PM, vaibhav agarwal wrote: > Hey, > > I am coding in django

Database doubt

2011-07-26 Thread vaibhav agarwal
Hey, I am coding in django for the first time and I had this doubt about database.At the start of coding , you are not sure of all the fields in the models of your site. So you end up making a few fields and proceed . But if at some other time , you might realise that you have to add a new field .