• 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
..
__init__.py Loading commit data...
api.py Loading commit data...
pops_views.py Loading commit data...
utils.py Loading commit data...