Detail view couldn't find the object, as the kwargs were not being passed to it.
Type of PR (feature, enhancement, bug fix, etc.)
Bug fix, couldn't use DetailView because of missing kwargs.
Description
Fixes the view not having the kwargs it originally had.
Minuses:
Test server has to be run with
python manage.py testserver cypress/fixtures/user.json --noinput
(Should update readme, but not sure if this is the correct way of doing this, so haven't updated them yet)
Fixes # (issue)
Why should this be added
This fixes a bug.
Checklist
[] Tests are passing
Test pass locally, would need to fix them to load fixtures to get them pass here. Haven't looked into that; as I'm not sure if this is the way fixtures should be used.
[] Documentation has been added or amended for this feature / update
Detail view couldn't find the object, as the kwargs were not being passed to it.
Type of PR (feature, enhancement, bug fix, etc.)
Bug fix, couldn't use DetailView because of missing kwargs.
Description
Fixes the view not having the kwargs it originally had. Minuses: Test server has to be run with
python manage.py testserver cypress/fixtures/user.json --noinput
(Should update readme, but not sure if this is the correct way of doing this, so haven't updated them yet)Fixes # (issue)
Why should this be added
This fixes a bug.
Checklist