model.FileField

2015-04-27 Thread mangu rajpurohit
Hi, I am new to django. I am looking for examples for uploading/downloading files in django. I found that models.FileField is used in model. So, my question is that, is it possible to upload file in django, without requiring to create a model, which will keep track of filenames in database. --

Re: model.FileField

2015-04-27 Thread mangu rajpurohit
> > Hi James, > > Thanks for suggesting me the page at location https://docs.djangoproject.com/en/1.8/topics/http/file-uploads/ .

How to change type of field in model, when database is already populated ?

2015-05-16 Thread mangu rajpurohit
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 Stude