I've seen a lot of django, django-react tutorials here in youtube and I can say that yours is far the best practical one. Please do how to improve django react SEO.
@xlonewulf24594 жыл бұрын
Yea django react seo is a very good topic! We hope he will teach us.
@veryacademy4 жыл бұрын
No problem, expect it sooner than later in this series. There are some bigger questions here of course - packages such as Next JS and Gatsby hold the real answer here for website based SEO solutions.
@paborlouise3194 жыл бұрын
Great 👍
@veryacademy4 жыл бұрын
Thank you Pabor! Trust you are well!
@mariamzayed912 жыл бұрын
amazing, Thank you!
@aashayamballi4 жыл бұрын
Going really good 👏🏽👌🏽
@veryacademy4 жыл бұрын
Thanks 😁
@anjaladhikari8951 Жыл бұрын
Hello!. I'm in a problem here when I try creating a post it says 'unauthorized' even though I am logged into the django rest's simulation login as well as into the frontend login we made. did i miss something? I think you forgot about adding headers while sending post request
@akashsonlall7414 Жыл бұрын
Hey! @veryacademy I would like to know how do I send the current user login info to be passed onto a Typography label which is in the Header.js file?
@GinesLA Жыл бұрын
i want change the / route of post for /posts, i cant...
@taoxu3524 жыл бұрын
Thanks for your tutorial! Could you please include a RichEditor in your post component? We can not only include text in the post but also include code snippets and other formats in the post.
@veryacademy4 жыл бұрын
Yes indeed! Thank you for reminding me! Social auth is next up but then I could fit that in for sure with React 👍
@siddharthshukla35574 жыл бұрын
you could try codemirror : www.npmjs.com/package/react-codemirror2 its fantastic.
@siddharthshukla35574 жыл бұрын
hey man, i have one more question about postloading.js how could you import PostLoadingComponent from the postloading.js ??? it was defined as the return statement function there -> return function PostLoadingComponent({ isLoading, ...props })
@veryacademy4 жыл бұрын
To be honest Siddharth, I would consider not using this approach. I am building a much more refined React application and will share it soon. The React component was just for proof of concept as this is meant to be a Django tutorial - I rushed it out. This is partly why this series has slowed down - whist I produce a much more refined and professional React and Vue app to share. The problem with this approach is that it does not update the state correctly so you will find yourself refreshing the page a lot - which is not ideal. The main hurdle to overcome here is learning more about working with async requests and understanding how to effectively update or refresh when an action occurs. I have a few React tutorials where we will build up to this.
@siddharthshukla35574 жыл бұрын
@@veryacademy glad to know.
@RicardoAPerez3 жыл бұрын
How could we show the __str__ method of the model Category in the Post List instead of the id?
@theCataras4 жыл бұрын
First of all: This tutorial series is awesome and i can't wait for future episodes! I have one small question about the general structure and please forgive me if i missed the obvious answer: When do you use completely new apps like Admin.js and when do you just add new components? Couldn't we have just added an admin.js component instead? Maybe this is to keep different parts of the logic seperated? Thank you again for all the great information!!!!
@veryacademy4 жыл бұрын
Hi Paolo, the React code is this tutorials series is just thrown together - I started refactoring the code but just decided to stop at where the series left off - although I have said I would add a few more to it. I might even get around to refactoring. Will see.
@bringinglife24 жыл бұрын
Hello So here in create, only one person can create the post right? or we have to manually change it to another user. So how do we automatically assign the current user to the new post? Is it like with redux or context-api?
@veryacademy4 жыл бұрын
Hey Createlyf, another good question. I dont want to sound a pain but - I am building a full React app with admin/users and anything else I can think of to respond to the many questions about adding other features. Will take a little while but will be worth the wait I hope. Now to your question. In short when you send a request to save the data you can add a field to capture the user and assign them to the new post. Appreciate this probably needs an example.
@bringinglife24 жыл бұрын
@@veryacademy Thanks for the response..so does that mean if we are assigning the user in the serializer itself, then that field will get saved automatically?
@yashmore35253 жыл бұрын
@@veryacademy Hi, when can we expect the full react app, was curious to know!!!
@omki2504 Жыл бұрын
I keep getting an Infinite loop when I try to connect to the Django rest api, what do I do to fix it? I believe that its happening because of the axios call, so how do I fix it?
@fuyukofuji3 жыл бұрын
Question: What is the difference between implementing the CRUD using "RetrieveUpdateDestroyAPIView" and implementing each operation alone, as you did?
@veryacademy3 жыл бұрын
Time it takes to do it yourself mainly.
@bringinglife24 жыл бұрын
Hii, I have a doubt, when we are working with forms in react, do we have to validate the forms in frontend? since we are doing a serializer validation in the backend? so is there a need for double validation? Thanks
@veryacademy4 жыл бұрын
Hey Createlyf. If Amazon sent you a gift and it was broken you would be annoyed right 😊 Why didn't they just check it before they sent it! I would recommend if and when you can to provide validation on both front and back - it can be time consuming but ultimately you get a better overall package. Also - we haven't mentioned it yet - Testing is also done on the front-end - so these type of checks and errors would be useful to catch, they add security and provides reliability and can aid performance - remember the front-end is on your device not the server - so lets use the host device as much as possible and avoid unnecessary processing on the backend.
@bringinglife24 жыл бұрын
Yes..Great and moreover superb contents on your channel. Thank you
@rayon93533 жыл бұрын
How do i pass author value from request.user rather than hard coded value?
@shn88222 жыл бұрын
Hi, Did you find a solution or do you have any sourcing recommendations because I couldn't find it.. thanks
@rayon93532 жыл бұрын
@@shn8822 i don't remember the video exactly but in order to get request .user from react to django views , you need to pass authorization headers from react side using fetch or exios
@thedjangoway90524 жыл бұрын
DJANGO REACT SEO FOR WEB CRAWLER PLEASE. Subscribed
@veryacademy4 жыл бұрын
Thank you for the suggestion - a very popular one today! No problem loud and clear, coming up soon! 👍
@trolletroller59094 жыл бұрын
Seems like the code repository linked is the finished code, but where is the starting code? I am trying to follow this, but the starting code that you are using in these videos doesn't match the code repositories from the last videos. I am learning some stuff, but I am getting confused a lot by this.
@veryacademy4 жыл бұрын
Hi Trolle, really sorry I don't have a link for the starter code unless you check the previous code example. I was trying to make stand alone tutorials but also thinking about the series continuation - it got a bit messy, am still learning and planning.
@orkhanrustamli20394 жыл бұрын
Hi, Do you have any plan about getting Slack or Discord channel so we can ask our questions and learn together? I have a question regarding little nested serializers which I could not find answer for days. I post a question in stakcoverflow and didn`t get an answer. May you can have quick look?
@veryacademy4 жыл бұрын
Hey Orkhan, I can setup something like that if the community thinks it is valuable, that isn't a problem. Not sure if it is the right time to do so just yet?
@ivayloivanov37444 жыл бұрын
What version of node you are running?
@veryacademy4 жыл бұрын
Whatever the latest is...
@ivayloivanov37444 жыл бұрын
@@veryacademy I am asking, because the React project from Part 7 repository is not working for some reason. After I run 'npm install' and 'npm start' the server won't start and gives me these errors: "npm ERR! code ELIFECYCLE" "npm ERR! errno ENOENT" I tried every suggestion on stackoverflow, but nothing worked. Everythings fine with every other React project.
@veryacademy4 жыл бұрын
@@ivayloivanov3744 I will take a look for you later tonight
@shawonhossain5194 жыл бұрын
How to delete multiple selected data using checkboxes ??
@veryacademy4 жыл бұрын
Good question - have a look at how I used checkboxes in the 2nd part of the quiz api tutorial - shown you how to capture what the user has pressed - from that point you have an entry into your question
@arghyadeepbarat56244 жыл бұрын
Can anyone provide me the playlist for Django and react so that I can follow the tutorials in sequence.
@veryacademy4 жыл бұрын
Hiya, sorry - it is a bit difficult to give you an A-Z at the moment. I have been jumping out, trying different material and practicing building tutorials. If you want DjangoAPI-React then the video you are looking at is part of a series which might be useful to you