Package django :: Package core :: Package servers :: Module basehttp :: Class AdminMediaHandler
[hide private]
[frames] | no frames]

Class AdminMediaHandler

source code

object --+
         |
        AdminMediaHandler

WSGI middleware that intercepts calls to the admin media directory, as defined by the ADMIN_MEDIA_PREFIX setting, and serves those images. Use this ONLY LOCALLY, for development! This hasn't been tested for security and is not super efficient.

Instance Methods [hide private]
 
__init__(self, application, media_dir=None)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__call__(self, environ, start_response) source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, application, media_dir=None)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)