500 error when GETting nested resource detail
When visiting https://api.test2.startinblox.com/circles/1/members/1/ I get a 500 error
Reproducing locally
Internal Server Error: /circles/1/members/1/
Traceback (most recent call last):
...
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/startinblox/djangoldp/views.py", line 413, in dispatch
response = super(LDPViewSet, self).dispatch(request, *args, **kwargs)
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/views.py", line 505, in dispatch
response = self.handle_exception(exc)
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/views.py", line 465, in handle_exception
self.raise_uncaught_exception(exc)
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
raise exc
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/views.py", line 502, in dispatch
response = handler(request, *args, **kwargs)
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/mixins.py", line 54, in retrieve
instance = self.get_object()
File "/Users/calummackervoy/Documents/Git/sib-app-3.6/env_python3_6/lib/python3.6/site-packages/rest_framework/generics.py", line 92, in get_object
(self.__class__.__name__, lookup_url_kwarg)
AssertionError: Expected view LDPNestedViewSet to be called with a URL keyword argument named "circlemember_id". Fix your URL conf, or set the `.lookup_field` attribute on the view correctly.