This is a possible fix for issue #73. The problem occurs when the first if-statement is true, but the second is not. This results into the variable obj not being set. This commit solves it by removing that branch.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
runtests | Loading commit data... | |
static | Loading commit data... | |
templates | Loading commit data... | |
templatetags | Loading commit data... | |
tests | Loading commit data... | |
utils | Loading commit data... | |
__init__.py | Loading commit data... | |
authentication.py | Loading commit data... | |
compat.py | Loading commit data... | |
mixins.py | Loading commit data... | |
models.py | Loading commit data... | |
parsers.py | Loading commit data... | |
permissions.py | Loading commit data... | |
renderers.py | Loading commit data... | |
resources.py | Loading commit data... | |
response.py | Loading commit data... | |
serializer.py | Loading commit data... | |
status.py | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... |