unt-libraries / django-nomination

A Django application for nominating URLs by project.
BSD 3-Clause "New" or "Revised" License
2 stars 1 forks source link

Use get_object_or_404 #93

Closed somexpert closed 3 years ago

somexpert commented 5 years ago

We really should be using get_object_or_404 any place that will grabbing a database record based on the URL, such as here. Would help to avoid some unnecessary server errors.

ldko commented 3 years ago

@madhulika95b would you see if this issue is fully resolved?