This is because you have amended your models and you have not changed your database.
Nothing to worry about!
For your info – > python manage.py syncdb -> will NOT alter the existing schema in the database.
You need to run the
python manage.py sqlall <your_app>
and then change your database based on the info given.
You may want to run python manage.py dbshell to do so
Or you can start using the Django addons calles South.
-> pip install South
-> Open up your apps -> settings.py
->add ‘South’ to your INSTALLED_APPS
-> run python manage. syncdb
-> then run python manage.py schememigration [yourapp_models] –initial
-> and again python manage.py migrate [yourapp_models]
Did it resolve your problem?
Let me know post your comments !!
SSD Hosting for 5 dollars a month https://www.digitalocean.com/?refcode=71a52388956e
Install Setuptools first
> wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py -O – | python
Note that you will may need to invoke the command with superuser privileges to install to the system Python.
Alternatively, on Python 2.6 and later, Setuptools may be installed to a user-local path:
> wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
> python ez_setup.py –user
$ python get-pip.py
Using Package Managers
On Linux, pip will generally be available for the system install of python using the system package manager, although often the latest version lags behind. Installing python-pip will also install python-setuptools.
On Debian and Ubuntu:
$ sudo apt-get install python-pip
$ sudo yum install python-pip
Then Install Django: ( You can check the latest version on https://www.djangoproject.com/download/)
pip install Django==1.5.5
Now you are ready to rock!