django-rest-framework-docs
django-rest-framework-docs copied to clipboard
Document Web APIs made with Django Rest Framework
I know that Live API Endpoints is Beta, but I noticed some issue that GET/POST by send button giving "Status: not found" and "null" with JWT. My endpoints working corectly...
Going through the docs, I couldnt find any support for versioning of docs. May be we can arrive at an approach from where we can pick up the changes in...
How do I set the field descriptions in views.py on function based views? **This is my syntax:** @api_view(['GET', 'POST']) def api_section(request): """ GET request gets the section and its details........
The `/another-login/` endpoint only worked correctly, because it was preceded by a pattern with an empty parent. Had the previous parent been not empty (as in the amended test), the...
I get the following error on the documentation root page: `ImproperlyConfigured: Field name `username` is not valid for model `CustomUser`.` I imagine this has something to do with my custom...
i am using a rest_condition to do OR between my two permissions. This gives me an error in __get_permission_class__ line 36 (i.e. perm_class.__name__): AttributeError: 'Condition' object has no attribute '__name__'....
Hello again, How has everyone solved the missing csrftoken problem with the liveapi feature? I had to hack the liveapi client to set the X-CSRFTOKEN header by reading from the...
When I use the Live API with my endpoints it always shows this: I'm guessing that since I use content-type `application/vnd.api+json` in my response, that this is not picked up....
In my project i had an urlpattern which included another urlpattern. The current code does resolve this, but only keeps the last parent pattern, thus displaying an invalid path. The...
I have a project level `nestor/urls.py` file like this: ```python urlpatterns = [ url(r'^v1/', include('nestor.v1.urls', namespace='api-v1')), url(r'^docs/', include('rest_framework_docs.urls', namespace='api-docs')), ] ``` Then `nestor/v1/urls.py` like: ```python router = rest_framework.routers.DefaultRouter() router.register('node', Node,...