Abdenasser / dr_scaffold

scaffold django rest apis like a champion 🚀

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug: Error: ImproperlyConfigured at /blog/posts/

rg3915 opened this issue · comments

Error: ImproperlyConfigured at /blog/posts/
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.

Describe the bug

This error occurs when entering the route.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '/blog/posts/'

Additional context

Sugestion

Resolve this bug or change serializers.HyperlinkedModelSerializer for serializers.ModelSerializer.

@Abdenasser delete this issue, please. Was mistake.