Merge lp://staging/~doctormo/loco-team-portal/previous-used-venues into lp://staging/loco-team-portal
Proposed by
Martin Owens
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Chris Johnston | ||||
Approved revision: | 438 | ||||
Merged at revision: | 435 | ||||
Proposed branch: | lp://staging/~doctormo/loco-team-portal/previous-used-venues | ||||
Merge into: | lp://staging/loco-team-portal | ||||
Diff against target: |
87 lines (+25/-2) 3 files modified
loco_directory/events/forms.py (+18/-1) loco_directory/teams/views.py (+4/-0) loco_directory/templates/teams/team_event_list.html (+3/-1) |
||||
To merge this branch: | bzr merge lp://staging/~doctormo/loco-team-portal/previous-used-venues | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Chris Johnston | Approve | ||
Martin Owens (community) | Approve | ||
Michael Hall (community) | Needs Fixing | ||
Review via email: mp+65071@code.staging.launchpad.net |
Commit message
Add in a previously-used venue section into the create-new event screen. Also added a create-event link to the event-list screen to help UI.
Description of the change
Add in a previously-used venue section into the create-new event screen.
Also added a create-event link to the event-list screen to help UI.
To post a comment you must log in.
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'