Discussion:
How to hide Api Root django in brouser?
MD AR
2018-09-23 21:53:18 UTC
Permalink
Hi

How to hide Api Root django in brouser?


[image: Capture d’écran (229).png]
--
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 django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Juan Antonio Alvarez
2018-09-25 12:34:28 UTC
Permalink
You have to remove the BrowsableAPIRenderer from your configuration:

http://www.django-rest-framework.org/api-guide/renderers/#setting-the-renderers
http://www.django-rest-framework.org/api-guide/renderers/#browsableapirenderer

Juan
Post by MD AR
Hi
How to hide Api Root django in brouser?
[image: Capture d’écran (229).png]
--
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
For more options, visit https://groups.google.com/d/optout.
--
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 django-rest-framework+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...