http://loco.ubuntu.com/events/global/17/detail/ triggers 404
Bug #589226 reported by
Daniel Holbach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCo Team Portal |
Fix Released
|
High
|
Michael Hall |
Bug Description
http://
Related branches
lp:~mhall119/loco-team-portal/fixes-589226
- Dave Walker: Approve
-
Diff: 12 lines (+1/-1)1 file modifiedloco_directory/events/views.py (+1/-1)
Changed in loco-directory: | |
assignee: | nobody → mhall119 (mhall119) |
milestone: | none → 0.2.10 |
status: | Triaged → Fix Committed |
Changed in loco-directory: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Traceback (most recent call last):
File "/var/lib/ python- support/ python2. 5/django/ core/handlers/ base.py" , line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/srv/loco. ubuntu. com/loco_ directory/ events/ views.py" , line 302, in global_event_detail user.groups. exclude( name__exact= 'ubuntu- lococouncil' ))
request.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ manager. py", line 108, in exclude query_set( ).exclude( *args, **kwargs)
return self.get_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ query.py" , line 496, in exclude or_exclude( True, *args, **kwargs)
return self._filter_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ query.py" , line 505, in _filter_or_exclude query.add_ q(~Q(*args, **kwargs))
clone.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/query. py", line 1254, in add_q add_q(child, used_aliases)
self.
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/query. py", line 1258, in add_q reuse=used_ aliases)
can_
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/query. py", line 1126, in add_filter
opts = self.get_meta()
File "/var/lib/ python- support/ python2. 5/django/ db/models/ sql/query. py", line 132, in get_meta
return self.model._meta
AttributeError: 'NoneType' object has no attribute '_meta'