Environment Request Method GET Request URL https 127 8000 user vk_calb

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Environment:
Request Method: GET
Request URL: https://127.0.0.1:8000/user/vk_calback/?code=01b38004cd0cf69f0f
Django Version: 1.6.2
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',
'django_facebook',
'south',
'storages',
'sslserver',
'hiyya_web.hiyya_user',
'hiyya_web.survey',
'hiyya_web.product',
'kombu.transport.django')
Installed Middleware:
('django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/home/ihor/.virtualenvs/giftzz/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response
114. response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/home/ihor/bitbucket/giftzzz/wsgi/hiyya_web/hiyya_web/hiyya_user/views.py" in vk_calback
179. user = authenticate(username=user.username, password=fake_password)
Exception Type: AttributeError at /user/vk_calback/
Exception Value: 'NoneType' object has no attribute 'username'