Environment:
Request Method: GET Request URL: http://127.0.0.1:8000/events/ubuntu-us-florida/add/ Django Version: 1.1.2 Python Version: 2.6.6 Installed Applications: ['django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.admin', 'common', 'teams', 'venues', 'events', 'meetings', 'userprofiles', 'django_openid_auth', 'south', 'bzr_apps'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.locale.LocaleMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware')
Traceback: File "/home/mhall/projects/Ubuntu/locodir/work/.env/lib/python2.6/site-packages/django/core/handlers/base.py" in get_response 99. response = callback(request, *callback_args, **callback_kwargs) File "/home/mhall/projects/Ubuntu/locodir/work/.env/lib/python2.6/site-packages/django/contrib/auth/decorators.py" in __call__ 78. return self.view_func(request, *args, **kwargs) File "/home/mhall/projects/Ubuntu/locodir/work/loco_directory/events/views.py" in team_event_new 209. form = TeamEventForm(initial={'global_event':request.GET.get('global_event_id', None)}, teams=[team_object]) File "/home/mhall/projects/Ubuntu/locodir/work/loco_directory/events/forms.py" in __init__ 69. self.fields['venue'].choices = self.grouped_venue_list() File "/home/mhall/projects/Ubuntu/locodir/work/loco_directory/events/forms.py" in grouped_venue_list 103. previous_choice.append((event.venue.id, str(event.venue)))
Exception Type: AttributeError at /events/ubuntu-us-florida/add/ Exception Value: 'NoneType' object has no attribute 'id'
« Back to merge proposal
Environment:
Request Method: GET 127.0.0. 1:8000/ events/ ubuntu- us-florida/ add/ contrib. auth', contrib. contenttypes' , contrib. sessions' , contrib. admin', openid_ auth', middleware. common. CommonMiddlewar e', middleware. locale. LocaleMiddlewar e', contrib. sessions. middleware. SessionMiddlewa re', contrib. auth.middleware .Authentication Middleware' )
Request URL: http://
Django Version: 1.1.2
Python Version: 2.6.6
Installed Applications:
['django.
'django.
'django.
'django.
'common',
'teams',
'venues',
'events',
'meetings',
'userprofiles',
'django_
'south',
'bzr_apps']
Installed Middleware:
('django.
'django.
'django.
'django.
Traceback: mhall/projects/ Ubuntu/ locodir/ work/.env/ lib/python2. 6/site- packages/ django/ core/handlers/ base.py" in get_response mhall/projects/ Ubuntu/ locodir/ work/.env/ lib/python2. 6/site- packages/ django/ contrib/ auth/decorators .py" in __call__ func(request, *args, **kwargs) mhall/projects/ Ubuntu/ locodir/ work/loco_ directory/ events/ views.py" in team_event_new initial= {'global_ event': request. GET.get( 'global_ event_id' , None)}, teams=[ team_object] ) mhall/projects/ Ubuntu/ locodir/ work/loco_ directory/ events/ forms.py" in __init__ 'venue' ].choices = self.grouped_ venue_list( ) mhall/projects/ Ubuntu/ locodir/ work/loco_ directory/ events/ forms.py" in grouped_venue_list choice. append( (event. venue.id, str(event.venue)))
File "/home/
99. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
78. return self.view_
File "/home/
209. form = TeamEventForm(
File "/home/
69. self.fields[
File "/home/
103. previous_
Exception Type: AttributeError at /events/ ubuntu- us-florida/ add/
Exception Value: 'NoneType' object has no attribute 'id'