We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment:
Request Method: POST Request URL: https://g-selenium-02/admin/lk/zoho/
Django Version: 1.7.1 Python Version: 2.7.5 Installed Applications: ('django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'djcelery', 'lk', 'admin_exporter') Installed Middleware: ('django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback: File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
return self.admin_site.admin_view(view)(_args, *_kwargs)
response = view_func(request, _args, *_kwargs)
return view(request, _args, *_kwargs)
return bound_func(_args, *_kwargs)
return func.**get**(self, type(self))(_args2, *_kwargs2)
response = self.response_action(request, queryset=cl.get_queryset(request))
response = func(self, request, queryset)
super(HttpResponse, self).**init**(_args, *_kwargs)
Exception Type: TypeError at /admin/lk/zoho/ Exception Value: init() got an unexpected keyword argument 'mimetype'
The text was updated successfully, but these errors were encountered:
because it's now called content_type.. not mimetype and HttpResponse should be called like
response = HttpResponse(data, mimetype="application/x-download")
into
response = HttpResponse(data, content_type="application/x-download")
Sorry, something went wrong.
No branches or pull requests
Environment:
Request Method: POST
Request URL: https://g-selenium-02/admin/lk/zoho/
Django Version: 1.7.1
Python Version: 2.7.5
Installed Applications:
('django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'djcelery',
'lk',
'admin_exporter')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware')
Traceback:
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
File "/usr/lib/python2.7/site-packages/admin_exporter/actions.py" in export
File "/usr/lib/python2.7/site-packages/django/http/response.py" in init
Exception Type: TypeError at /admin/lk/zoho/
Exception Value: init() got an unexpected keyword argument 'mimetype'
The text was updated successfully, but these errors were encountered: