Changes between Version 2 and Version 3 of StreamingUpload
- Timestamp:
- Dec 20, 2006, 12:01:50 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
StreamingUpload
v2 v3 1 Work in progress 1 Example app for patch in ticket #2070 2 2 3 3 {{{ 4 4 5 5 # models.py 6 7 from django.db import models 6 8 7 9 class SomeFile(models.Model): … … 49 51 # views.py 50 52 51 from manipulators import 53 from manipulators import AddFileManipulator 52 54 53 55 def upload_file(request): … … 81 83 82 84 }}} 85 86 {{ 87 88 <!-- add_file.html --> 89 90 <form enctype="multipart/form-data" method="post" action="/foo/"> 91 92 <p>Description: {{ form.description }} </p> 93 <p>File: {{ form.file_file }} </p> 94 95 </form> 96 97 }}