I my users api - > https://github.com/shubham1507/school/blob/trial/users/urls.py
*HTTP 200 OK**Allow:* GET, HEAD, OPTIONS*Content-Type:* application/json*Vary:* Accept { "teacher": "http://127.0.0.1:8000/users/teacher/", "student": "http://127.0.0.1:8000/users/student/"} whenever I hit to either of the link "http://127.0.0.1:8000/users/teacher/",or "http://127.0.0.1:8000/users/student/" then 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. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/937993c8-6dca-4968-a3e7-66ec3503ad1f%40googlegroups.com.