Re: File Upload in Django

2015-05-16 Thread Timothy W. Cook
The official docs are a good place to start https://docs.djangoproject.com/en/1.8/topics/http/file-uploads/ This GitHub example is about the newest one available showing the changes in recent Django versions https://github.com/axelpale/minimal-django-file-upload-example On Sat, May 16, 2015 at

File Upload in Django

2015-05-16 Thread SUBHABRATA BANERJEE
Dear Group, I want to upload file and form in Django. I am using Django 1.8 on Windows 2.7+ on Windows 7 Professional. I am bit new and I was confused how may I upload file and form in Django. If anyone may kindly show me an example tutorial. I tried some examples on Github and stackoverflow b

Viewing file-upload in django admin site. How to do it?

2011-10-23 Thread Satyajit Sarangi
This is my models.py from django.db import models # Create your models here. class Question(models.Model): question_name = models.CharField(max_length=200) question_type = models.CharField(max_length=20) def __unicode__(self): return self.question_name c

Re: Understanding of File Upload in Django

2009-12-15 Thread David De La Harpe Golden
sjtirtha wrote: > But what I understand from the documentation is uploading and saving are two > different processes. How can I trigger the saving then? > First, certainly, when a file is uploaded from a client, django puts it somewhere *temporary* initially. You may have conceptualised that as

Re: Understanding of File Upload in Django

2009-12-15 Thread john2095
I'm confident people will correct my mistakes... A file is transferred from a web browser to a web server by breaking it up into packets at the network layer. Each packet is part of the file and you need the complete set of packets to recreate the whole request, and thus the whole file. Assuming

Understanding of File Upload in Django

2009-12-13 Thread sjtirtha
Hi, can somebody explain me how file upload works in Django? I read this documentation: http://docs.djangoproject.com/en/dev/topics/http/file-uploads/ And there is this part: ##

Re: where are the code that handle image file upload in Django admin page?

2008-12-23 Thread krylatij
http://docs.djangoproject.com/en/dev/topics/http/file-uploads/ here is a sample how to handle file upload And have tried: MyForm.save()? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: where are the code that handle image file upload in Django admin page?

2008-12-22 Thread Chuck22
Anyone can help on this? I get stuck with image file upload. On Dec 21, 11:33 pm, Chuck22 wrote: > I have three ImageField in my form and model, I want to know how to > upload the three image files in the form processing code. I found > Django Admin page handles the image file upload nicely. And

where are the code that handle image file upload in Django admin page?

2008-12-21 Thread Chuck22
I have three ImageField in my form and model, I want to know how to upload the three image files in the form processing code. I found Django Admin page handles the image file upload nicely. And I want to do the exactly same work. But I can not find the piece of code that does the job when searchin