#4165: Upload Progress Middleware and Integration into the Admin
---------------------------------------------+------------------------------
   Reporter:  Michael Axiak <[EMAIL PROTECTED]>  |                Owner:  
adrian                
     Status:  new                            |            Component:  Admin 
interface       
    Version:  SVN                            |           Resolution:            
            
   Keywords:  upload, progress, ajax         |                Stage:  Design 
decision needed
  Has_patch:  1                              |           Needs_docs:  1         
            
Needs_tests:  1                              |   Needs_better_patch:  1         
            
---------------------------------------------+------------------------------
Comment (by anonymous):

 By following the instructions in [comment:15 Michael Axiak
 <[EMAIL PROTECTED]>] as exactly as possible, using the
 5343_javascript_and_admin.diff patch I found that file uploads cause lots
 of broken pipes with the development server. File uploads DO however seem
 to work, allthough not with edit_inline. Nevertheless I get no file
 progress reports.
 
 Is this patch meant to work with the development server at all, should I
 migrate to Apache and mod_python for my development instead - or am I
 missing something?
 
 By the way; in django.contrib.uploadprogress there is still an __init__
 file missing. ;)
 
 FYI; using Firefox 2, the FileField is in my case a subclassed version of
 the ImageField (source available on request)
 
 Replying to [comment:15 Michael Axiak <[EMAIL PROTECTED]>]:
 > '''A new version''' has been uploaded, making a few changes over the
 last version:
 >   * The !JavaScript will now infer the path of Admin for you. (You can
 even make admin the root of the domain...)
 >
 >   * Removed {{{upload_progress}} portions of middleware...now using
 {{{process_request}}}
 >
 >   * Raises error whenever client asks for data that's not asked for.
 This signals the !JavaScript to silently fail (and Stop!) after 10 tries.
 >
 >   * Tested / tweaked for different edge cases regarding what users will
 have set.
 >
 >   * Included a missing {{{__init__.py}}} file.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/4165#comment:20>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to