[Fixed]-How to make a reverse in DefaultRouter()

25👍

You should use profile-list instead of profile-create

CREAT_USER_URL = reverse('profile-list')

There is no URL as {base_name}-create, If you wanna use create endpoint, use {base_name}-list.

For more information, refer to this table

👤JPG

Leave a comment