You must have used ping command on your Command Prompt or Terminal to check if a site is up or to get it’s IP Address. Ping is a network utility command used to check if a host is reachable. It…
Tag: django
Build a Complete Quiz App using VueJS and Django
Let’s learn how to build an multi topic quiz app using Vue JS in the front-end and Django in the back-end. I have already build and deployed it. So you can try it live. https://onlinetool.in/quiz/python Overview of the working of…
Popular & Easy to learn Web Frameworks in 2020
Hi, guys today we are going to take a look at the some of the easiest yet popular & powerful web application frameworks you should learn in the year 2020. Web frameworks make developing websites easier and systematic. They follow…
Create Ajax View method for GET/POST in Django
Suppose if you want to get some data from Django server. You will usually get the data in the template via a View method. Hitting the URL will also cause the page to refresh. What if you simply wanted some…
Dynamically Create JSON with Foreign Fields nested in Django
I struggled a lot to create a JSON object which should also contain foreign field values. So after Googling and trying a lot, I came up with this masterpiece code 🙂 This code is very simple does not require any…
How to Shuffle (Randomize) QuerySet in Django
Suppose you want get a random item from a QuerySet, It should be random but non repeating. In many posts I saw they use my_list = MyModel.objects.order_by(“?”) but it will produce repeating items. 1st Step: get a QuerySet my_qset =…
Shell Script to Run Django Development Server Automatically
We all know how boring it can be to start the django development server each time. entering the same commands over and over. The good news is that you can write a simple shell script to do so. and after…