I've built minimal project with Django's standard User models (can be found 
at this repo <https://github.com/cl0ne/django-rest-framework-sandbox>)
Adding app_name='api' to api/urls.py or namespace='api' to include call in 
project's urls.py (or even both at a time) causes

> django.urls.exceptions.NoReverseMatch: Reverse for 'user-detail' not 
> found. 'user-detail' is not a valid view function or pattern name.
>
 when api/users/ endpoint requested. How to specify app_name prefix to all 
urls in that app?

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to