Hi, I am new to Django. I am working on an application ,where the types of table fields in database are not known before hand. So, say for eg. In student table, I am assigning CharField to marks field, ie
class Student(models.Model): marks = model.CharField(max_length = 3) and after Student table in database is populated, can I change the type of marks to IntegerField as shown below :- class Student(models.Model): marks = model.IntegerField() Is it possible ? If not feasible, then what are the alternatives ways/design strategies or what should be done in such cases ? If feasible, then what are its side-effects ? Sorry for my poor english. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aed20dfc-8777-4998-b1ff-224f5012ff20%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.