for example at first i have a model named url, the code is as follows:

class url(models.Model):
     link=models.URLField(unique=True)

then i change this class as follows:

class url(models.Model):
     link=models.URLField(unique=True)
     hits=models.IntegerField()

at last, i use command  python manage.py syncdb

but was suprised to find that the schema of url table in the database
is not changed

so is there any method to change the shcema of table using django command?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to