Esempio 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)
Esempio 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)
Esempio n. 3
0
 def __init__(self, outfile=sys.stdout):
     self.errors = []
     self.outfile = outfile
     self.style = color_style()
Esempio n. 4
0
 def __init__(self):
     self.style = color_style()
Esempio n. 5
0
 def __init__(self):
     self.style = color_style()
Esempio n. 6
0
 def __init__(self, outfile=sys.stdout):
     self.errors = []
     self.outfile = outfile
     self.style = color_style()