Posts by Khushi Aswani

Author Biographical Info: Python programmer who is also interested in content writing.

Upload a file in Django

Upload a file in Django

By Khushi Aswani | March 6, 2022

In this tutorial, we will be talking about how to upload a file in Django. The question is why we need to do so when we already have CharField(), IntegerField(), TextField() but sometimes we need to upload files like an image or a pdf or some file in some other format like if you want […] Read More

Combine two querysets in Django

By Khushi Aswani

Sometimes, we might need to combine two querysets in Django even from different models to execute a certain condition. In this tutorial, we will try to combine queryset using Djang.... Read More

Show a PDF file in Django instead of downloading

By Khushi Aswani

In this tutorial, we will be learning how to show a PDF file in Django instead of downloading. It is very simple if you know even a bit about Django. So lets start- Start an app na.... Read More

Slice Multidimensional array in Python

By Khushi Aswani

We all know the concept of arrays – the easiest way to deal with a large amount of the same data type. Arrays are much easier to handle and provide us with a lot of functions.... Read More

Reset Migrations in Django

By Khushi Aswani

Sometimes, you may need to reset migrations in Django. It is not a very big task but it is important when you are stuck somewhere and your database is not appropriate, you might ne.... Read More

Check the version of Django

By Khushi Aswani

As you have read the title, this tutorial is all about checking the version of Django. You might be wondering what version of Django you are using right now, you might be stuck som.... Read More

Create an API in Django Python

By Khushi Aswani

In this tutorial, we will be learning how to create an API in Django using REST framework. API API stands for Application Program Interface. It is a collection of software function.... Read More

Change Datatype of a NumPy array in Python

By Khushi Aswani

Have you wondered What if we used the wrong datatype in NumPy array or you want to modify it later for some reason? The simplest answer to the above question is A big Yes! So today.... Read More

Related Posts