I am new to django so i am little bit confused with database syncing.
Suppose i have 5 class attributes initially and i used site for 2 days and data is in database.
Then i removed 2 attributes and added 3 more attributes.
I want to know that how will then Django handle
- The data which is already there for removed columns
- The new columns which were not there before. so will it enter null data in database for the data rows which were there before
I don’t know how you can be confused. The documentation for syncdb clearly states, in a big box, “Syncdb will not alter existing tables”.
Use something like South to change existing tables.