4 | | http://dpaste.com/3JNZ2YR |
| 4 | {{{ |
| 5 | Environment: |
| 6 | |
| 7 | |
| 8 | Request Method: POST |
| 9 | Request URL: http://127.0.0.1:8000/login/?next=/ |
| 10 | |
| 11 | Django Version: 1.8 |
| 12 | Python Version: 3.4.2 |
| 13 | Installed Applications: |
| 14 | ('django.contrib.auth', |
| 15 | 'django.contrib.contenttypes', |
| 16 | 'django.contrib.sessions', |
| 17 | 'django.contrib.messages', |
| 18 | 'django.contrib.staticfiles', |
| 19 | 'myapp') |
| 20 | Installed Middleware: |
| 21 | ('django.contrib.sessions.middleware.SessionMiddleware', |
| 22 | 'django.middleware.common.CommonMiddleware', |
| 23 | 'django.middleware.csrf.CsrfViewMiddleware', |
| 24 | 'django.contrib.auth.middleware.AuthenticationMiddleware', |
| 25 | 'django.contrib.auth.middleware.SessionAuthenticationMiddleware', |
| 26 | 'django.contrib.messages.middleware.MessageMiddleware', |
| 27 | 'django.middleware.clickjacking.XFrameOptionsMiddleware', |
| 28 | 'django.middleware.security.SecurityMiddleware') |
| 29 | |
| 30 | |
| 31 | Traceback: |
| 32 | File "/Users/James/.virtualenvs/uuid-user/lib/python3.4/site-packages/django/core/handlers/base.py" in get_response |
| 33 | 222. response = middleware_method(request, response) |
| 34 | File "/Users/James/.virtualenvs/uuid-user/lib/python3.4/site-packages/django/contrib/sessions/middleware.py" in process_response |
| 35 | 49. request.session.save() |
| 36 | File "/Users/James/.virtualenvs/uuid-user/lib/python3.4/site-packages/django/contrib/sessions/backends/db.py" in save |
| 37 | 58. session_data=self.encode(self._get_session(no_load=must_create)), |
| 38 | File "/Users/James/.virtualenvs/uuid-user/lib/python3.4/site-packages/django/contrib/sessions/backends/base.py" in encode |
| 39 | 89. serialized = self.serializer().dumps(session_dict) |
| 40 | File "/Users/James/.virtualenvs/uuid-user/lib/python3.4/site-packages/django/core/signing.py" in dumps |
| 41 | 90. return json.dumps(obj, separators=(',', ':')).encode('latin-1') |
| 42 | File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/__init__.py" in dumps |
| 43 | 237. **kw).encode(obj) |
| 44 | File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/encoder.py" in encode |
| 45 | 192. chunks = self.iterencode(o, _one_shot=True) |
| 46 | File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/encoder.py" in iterencode |
| 47 | 250. return _iterencode(o, 0) |
| 48 | File "/Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/json/encoder.py" in default |
| 49 | 173. raise TypeError(repr(o) + " is not JSON serializable") |
| 50 | |
| 51 | Exception Type: TypeError at /login/ |
| 52 | Exception Value: UUID('314cb5d6-593f-48f5-b1af-fadedde123d3') is not JSON serializable |
| 53 | }}} |