As I will refresh here, see we got three data with addition to this rohit sharma data.
But we are not able to see any data on the showpage. Why?
Because when we created our insert view, we had just rendered our show page.
That means we have just called our showpage okay?
But the showpage that we created now is displaying data.
So what we have to do is as soon as our work is completed with insert view, it should call view of ‘show’ okay?
So what we will do here is use of redirect (X2)
So what does redirect mean?
This is your library in django that redirects to different views through view.
Which means redirects your response to different views so how will you redirect?
Here use return redirect and in this what you have to write is name of url of your show view.
Means the url that we created of this view, you will write the name of the url of that view.
So the name of our url of showpage, copy that and go in the view and in this redirect, paste in single inverted commas okay?
So now after insert render on showpage view
What we did is, as the insert will be completed, our view of the show page will get called with the data.
Which means this view will be directly called after insert okay?
How? I will show.
Again we will insert new data okay?
Here I will write MS Dhoni, contact below and email firstname.lastname@example.org.
And inserted so see our show page is opened with the data as insertion is completed.
Previously our showpage had column names after insertion and the data was not displayed.
But now our data is displayed after insert.
So in this way, you display dynamic data in django on the browser by using the bootstrap table. okay?
Also i had tell you a responsive thing, see this is also responsive. how will you check?
Right click on the browser page, go in and inspect.
And see here I will change its view.
Here it is displayed in a perfect big view, now you have to check in the mobile view.
You are able to see this icon okay? Click on this and here you can check any mobile display.
Suppose here I will check pixel 2.
See your table is automatically adjusted.
This thing is known as responsive. Okay?
So this is why bootstrap is used.
See here i will select ipad.
So the table is adjusted according to the display of the ipad.
So in this way bootstrap works. Okay?
Therefore bootstrap is used to make the website responsive by every developer okay? Clear?
So when we meet next time, our next topic will be updating data in django.
Which means next time we will update our data okay? Also in the next topic we will complete our crud operation. Okay?
If anybody has any doubt, you can raise your query topic wise on forums.learnvern.com .
Also if somebody has a requirement of a file, can download from description.
If you have any queries or comments, click the discussion button below the video and post there. This way, you will be able to connect to fellow learners and discuss the course. Also, Our Team will try to solve your query.
Django is a widely used Python web framework. It’s easy to use, but it also has some limitations. One of them is that you can’t use it to fetch data from the internet and store it in your database. Django provides a way to do this: RESTful API.
Fetching data means getting a full copy of the data from the database, without having to process it. We can use these tools to generate content for our clients and employees.
A fetching service takes data from multiple sources and presents it in an easy-to-understand format. A retrieving service takes a given piece of data, retrieves it, and presents it in a way that's easy to understand.
where will i get code access for the project source code?
this course structure is very good. I suggest for learning to this website.
Superb and amazing 😍🤩 enjoyable experience.
Er Komal Gupta
thnku so much sir. after waisting so mch time in boring videos.i learned only from here.explained vry well and i will suggest evryone that learnvern is the bst online plateform where you can learnalot
ajax lesson was something like boring . But , learned a lot with the sunit sir . Just learned how to deal with ajax in django