Trying to Extend Serializer leads to a cavalcade of Could not resolve URL for hyperlinked relationship using view name erros
domface opened this issue · 2 comments
domface commented
I'm trying to extend the Serializers as per OSCARAPI_OVERRIDE_MODULES
and trying to use our own internal api URL scheme, however, these URLs are behind namespaces, and thus i keep getting
Could not resolve URL for hyperlinked relationship using view name "user-detail". You may have failed to include the related model in your API, or incorrectly configured the
lookup_field attribute on this field.
errors. Is there an easier way to do this or am i forced to use the url structure that comes out of the box with this library?