Ejemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     from google.appengine._internal.django.conf import settings
     self.admin_media_prefix = settings.ADMIN_MEDIA_PREFIX
     # We set self.path to avoid crashes in log_message() on unsupported
     # requests (like "OPTIONS").
     self.path = ''
     self.style = color_style()
     BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
Ejemplo n.º 2
0
 def __init__(self, *args, **kwargs):
     from google.appengine._internal.django.conf import settings
     self.admin_media_prefix = settings.ADMIN_MEDIA_PREFIX
     # We set self.path to avoid crashes in log_message() on unsupported
     # requests (like "OPTIONS").
     self.path = ''
     self.style = color_style()
     BaseHTTPRequestHandler.__init__(self, *args, **kwargs)
Ejemplo n.º 3
0
 def __init__(self, outfile=sys.stdout):
     self.errors = []
     self.outfile = outfile
     self.style = color_style()
Ejemplo n.º 4
0
 def __init__(self):
     self.style = color_style()
Ejemplo n.º 5
0
 def __init__(self):
     self.style = color_style()
Ejemplo n.º 6
0
 def __init__(self, outfile=sys.stdout):
     self.errors = []
     self.outfile = outfile
     self.style = color_style()