Code

Changes between Version 3 and Version 4 of StreamingUpload


Ignore:
Timestamp:
12/20/06 10:03:40 (7 years ago)
Author:
Øyvind Saltvik <oyvind.saltvik@…>
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • StreamingUpload

    v3 v4  
    7373            # duplicate entires, and so users don't see the confusing 
    7474            # "Repost POST data?" alert box in their browsers. 
    75             return HttpResponseRedirect("/someurl/" % new_object.id) 
     75            return HttpResponseRedirect("/showuploadedfile/%i/" % new_object.id) 
    7676    else: 
    7777        # No POST, so we want a brand new form without any data or errors. 
     
    8888<!-- add_file.html --> 
    8989 
    90 <form enctype="multipart/form-data" method="post" action="/foo/"> 
     90<form enctype="multipart/form-data" method="post" action="/uploadfile/"> 
    9191 
    9292<p>Description: {{ form.description }} </p>