Thank you very much! Been trying to generate a documentaion for the project I'm working on for days but kept running into issues. Thanks again for this video, very easy to follow with no hassle
Hi! I've generated my schema following the tutorial but when viewing it like you do at 8:30, I don't see the properties the api call requires, just a $ref line, like this: /api/token/: post: operationId: createTokenObtainPair description: 'Takes a set of user credentials and returns an access and refresh JSON web token pair to prove the authentication of those credentials.' parameters: [] requestBody: content: application/json: schema: $ref: '#/components/schemas/TokenObtainPair' Any idea why this could be?
Hi, this is related to api development and generating api documentation. I have shown in other tutorials how to generate database schemes. If your using a different api, that particular api will guide you to what documentation tools it supports
Can someone explain to me what is being offered here by using swagger docs instead of the "built in" api docs you're getting for free from DRF? I'm clearly missing something and am new to DRF. Thanks in advance
please consider doing a project based on django-channels where views, models, etc are being used. or maybe somehow use django-channels in this project.
I have added this to the list. I do have a number of project I am working on at the same time - everything is moving slowly forward to much larger and more detailed projects.
But how can we integrate jwt in it (add path('api/docs/', include_docs_urls(title="Rest Framework Api", authentication_classes=[], permission_classes=[] )) Thank you so much :)
Hi, I’m so confused, I have an e-commerce web site, only Django, html, css and is, for dB I used MySQL. I want to build an android app for the existing web project. How can I do? I searched for a lot and didn’t found any information about it.
@@veryacademy all my custom view have request in it. The problem occurs with the api schema,when teying to fetch 'schema' end point. You did not put request in anywhere while building the Schema 🤔
I got this error can you please help me: "Could not import 'rest_framework.schemas.coreapi.AutoSchema' for API setting 'DEFAULT_SCHEMA_CLASS'. ModuleNotFoundError: No module named 'rest_framework.schemas.coreapi'.
You are the best youtube channel when it comes to Django. Huuuge thanks, man. Keep it up!
Thank you, very kind. We keep moving forward with Django - still quite a lot to cover so, we continue 🐱🏍
I do agree
it's amazing getting this huge benefitable knowledge form one series! Thank You!
Happy to hear that!
Now this is a topic I never saw approached. Keep it up!
Glad you liked it!
The best django channel for me!!!! Can I give this a double thumbs up instead? Congrats for this, again, very informative tutorial.
Thank you very much! Been trying to generate a documentaion for the project I'm working on for days but kept running into issues. Thanks again for this video, very easy to follow with no hassle
Great Content!
great again
Thanks !! Again you are awesome !! Looking forward to see future content !
Amazing !!!! , Thanks to this, it will be very useful for collaboration with frontend
You are very welcome! Glad it was useful 👍
Just awesome
Thank you, you made it look very simple, I couldn't understand it properly when I was going through doucmentation.
Glad it helped!
Hi! I've generated my schema following the tutorial but when viewing it like you do at 8:30, I don't see the properties the api call requires, just a $ref line, like this:
/api/token/:
post:
operationId: createTokenObtainPair
description: 'Takes a set of user credentials and returns an access and refresh
JSON web
token pair to prove the authentication of those credentials.'
parameters: []
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/TokenObtainPair'
Any idea why this could be?
Very cool! Thanks!
No problem!
Thank you for the video. Is there a way to generate similar documentation if I'm using Django, not DRF?
Hi, this is related to api development and generating api documentation. I have shown in other tutorials how to generate database schemes. If your using a different api, that particular api will guide you to what documentation tools it supports
good content again
Thank you 👍
Can someone explain to me what is being offered here by using swagger docs instead of the "built in" api docs you're getting for free from DRF? I'm clearly missing something and am new to DRF. Thanks in advance
please consider doing a project based on django-channels where views, models, etc are being used.
or maybe somehow use django-channels in this project.
I have added this to the list. I do have a number of project I am working on at the same time - everything is moving slowly forward to much larger and more detailed projects.
But how can we integrate jwt in it (add path('api/docs/', include_docs_urls(title="Rest Framework Api",
authentication_classes=[],
permission_classes=[]
))
Thank you so much :)
How to use auto schema for list of strings?
Good evening, is it possible to customize this document that Django generates automatically, if so can you help me?
Hi, I’m so confused, I have an e-commerce web site, only Django, html, css and is, for dB I used MySQL. I want to build an android app for the existing web project. How can I do? I searched for a lot and didn’t found any information about it.
Hey, sorry not to get back to you sooner - replied in the other comment.
Subscribed
Thank you!
you explained the swagger UI features, but then did not use it?
Is there a way to make the documentation into a pdf?
Is there a way to make it a json raw data and not fill a form?
Tq
I got an error saying view() requires a positional argument. Dont know why!
Hi Aman, did you add the request in the view?
@@veryacademy all my custom view have request in it. The problem occurs with the api schema,when teying to fetch 'schema' end point. You did not put request in anywhere while building the Schema 🤔
How many times I tell you thanks 😬😬😬😬
Thank you - no worries, please keep commenting it helps the channel grow. Much more to come!
I got this error can you please help me:
"Could not import 'rest_framework.schemas.coreapi.AutoSchema' for API setting 'DEFAULT_SCHEMA_CLASS'. ModuleNotFoundError: No module named 'rest_framework.schemas.coreapi'.
ruclips.net/video/XBxssKYf5G0/видео.html this is an update version which should make this easier