Hi Pulkit, This could be of help too: http://docs.djangoproject.com/en/dev/ref/forms/api/#binding-uploaded-files-to-a-form
Do not forget to add the multipart to your form element: <form enctype="multipart/form-data" method="post" action="/foo/"> Store the file on your filesystem, store the path to the file in your database. Cheers, RR On May 8, 10:32 pm, Pulkit Mehrotra <mehrotra.pul...@gmail.com> wrote: > I want to create a system by which i can upload files to my database .This > database will be a set of question papers .These question papers can be > downloaded by students for their own use and evaluation.How to create it > .What is the use of django filefield.Please provide any links for it . > > thank you, -- 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.