Environment:
Request Method: POST
Request URL: http://www.thecolornet.com/admin/login/?next=/admin/
Django Version: 1.9.5
Python Version: 3.4.3
Installed Applications:
('django.contrib.admin',
'django.contrib.sites',
'registration',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'admin_honeypot',
'markdown_deux',
'pagedown',
'rest_framework',
'custom_user',
'imagekit',
'crispy_forms',
'storages',
'newsletter',
'comments',
'blog',
'ajaxsearch')
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',
'django.middleware.security.SecurityMiddleware')
Traceback:
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
-
return self.cursor.execute(sql, params)
The above exception (invalid input syntax for type inet: "b''"
LINE 1: ...p", "path") VALUES ('[email protected]', 'b'''''::i...
^
) was the direct cause of the following exception:
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
-
response = self.process_exception_by_middleware(e, request)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response
-
response = wrapped_callback(request, _callback_args, *_callback_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/views/generic/base.py" in view
-
return self.dispatch(request, _args, *_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/admin_honeypot/views.py" in dispatch
-
return super(AdminHoneypot, self).dispatch(request, _args, *_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/views/generic/base.py" in dispatch
-
return handler(request, _args, *_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/views/generic/edit.py" in post
-
return self.form_invalid(form)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/admin_honeypot/views.py" in form_invalid
-
path=self.request.get_full_path(),
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/manager.py" in manager_method
-
return getattr(self.get_queryset(), name)(_args, *_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/query.py" in create
-
obj.save(force_insert=True, using=self.db)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/base.py" in save
-
force_update=force_update, update_fields=update_fields)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/base.py" in save_base
-
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/base.py" in _save_table
-
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/base.py" in _do_insert
-
using=using, raw=raw)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/manager.py" in manager_method
-
return getattr(self.get_queryset(), name)(_args, *_kwargs)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/query.py" in _insert
-
return query.get_compiler(using=using).execute_sql(return_id)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/models/sql/compiler.py" in execute_sql
-
cursor.execute(sql, params)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
-
return super(CursorDebugWrapper, self).execute(sql, params)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
-
return self.cursor.execute(sql, params)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/utils.py" in exit
-
six.reraise(dj_exc_type, dj_exc_value, traceback)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/utils/six.py" in reraise
-
raise value.with_traceback(tb)
File "/root/myproject2/myprojectenv2/lib/python3.4/site-packages/django/db/backends/utils.py" in execute
-
return self.cursor.execute(sql, params)
Exception Type: DataError at /admin/login/
Exception Value: invalid input syntax for type inet: "b''"
LINE 1: ...p", "path") VALUES ('[email protected]', 'b'''''::i...
^