Oh, make sure your upload form specifies the 'enctype' attribute so it
will actually send a file object, like:
{% block content %}
<h2>Upload a file...</h2>
<form enctype="multipart/form-data" action="{% url file_create
parent_id %}" method="post">
{{ form.as_p }}
<input type="submit" value="Submit" />
</form>
{% endblock %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---