Team does not exist should be handled via a normal 404 page
Bug #495375 reported by
Daniel Holbach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LoCo Team Portal |
Fix Released
|
Low
|
Thomas Bechtold |
Bug Description
Team does not exist should be handled via a normal 404 page. Currently it's: raise Team.DoesNotExist, "%s" % team_slug which always sends an email to whenever somebody tries a funny URL. :)
Related branches
lp:~toabctl/loco-team-portal/team-detail_get_object_or_404
- Daniel Holbach (community): Approve
-
Diff: 24 lines (+3/-4)1 file modifiedloco_directory/teams/views.py (+3/-4)
Changed in loco-directory: | |
importance: | Undecided → Low |
milestone: | none → 0.1.1 |
status: | New → Triaged |
Changed in loco-directory: | |
status: | Triaged → Fix Committed |
Changed in loco-directory: | |
assignee: | Thomas Bechtold (thomasbechtold) → Mark Shuttleworth (sabdfl) |
assignee: | Mark Shuttleworth (sabdfl) → Thomas Bechtold (thomasbechtold) |
Changed in loco-directory: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
should be easy to handle with django shortcut "get_object_or_404"