• Sergios Aftsidis's avatar
    Add exception handling when reversing URL · 29bb7e88
    Sergios Aftsidis authored
    When reverse resolving URL mappings, if the user supplies a wrong
    url mapping under /api/ (e.g. /api/blabla), the resolution fails
    and an HTTP500 error is thrown. This catches that case (`NoReverseMatch`)
    and throws an HTTP404 instead.
    29bb7e88
Name
Last commit
Last update
static/pops Loading commit data...
templates/pops Loading commit data...
urls Loading commit data...
views Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
__init__.py Loading commit data...
tests.py Loading commit data...