Ath Tripathi has Published 78 Articles

How to add a captcha in a Django website?

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:29:05

3K+ Views

Captcha is one of the modern ways used for verification in websites; it is very cool way and every second website is using it. You can use Google captcha but it is really a headache to apply it; however in Django, we have a simpler method to do so.In this ... Read More

Making a URL shortner app in Django

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:27:32

300 Views

In this article, we will see how to make a URL shortner app in Django. It is a simple app which will convert a long URL into a short one. We will achieve this using a Python library, not any Django-specific library, so you can use this code in any ... Read More

Making a simple counter app using request.session in Django

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:22:43

563 Views

In this article, we are going to see how to make a super simple counter app, where clicking a button will add a number and it will keep doing that even if you close the tab and keep the data in session. We will get the idea of using sessions ... Read More

Making a Pickle field in Django models

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:17:27

1K+ Views

Pickle in Python is primarily used in serializing and deserializing a Python object structure. In other words, it's the process of converting a Python object into a byte stream to store it in a file/database, maintain program state across sessions, or transport data over the networkIn this article, we are ... Read More

Django – Making a contact form and storing its data without model, query and html

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:15:56

776 Views

In Django, you can create a contact form very easily but it takes managing a lot of things like making forms, views, models, and then register the model in Admin, etc. In this article, we will see how to use a predefined package for our contact form which will save ... Read More

Importing data into models in Django

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:11:25

3K+ Views

In this article, we are going to see how to import data from json format to model. We can import data from json, csv, xlsx, yml, etc. to model.First of all, create a Django project and an app. Set up urls and do some basic stuff like adding the app ... Read More

Implementing models reversion in Django

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:09:03

743 Views

In this article, we are going to learn how to add object's data tracking, deleted data recovery and recovery in objects. Reversion means getting back your deleted model data, it will recover all of your deleted data in a single click and it even gives tracking of each model object.First ... Read More

How to make any Django model's file downloadable?

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:06:43

880 Views

You can use the django-downloadview package to make any file that you have in your project downloadable. You can host the files on a server.In this article, we will see how to make a file downloadable in our Django project. It will be a fun topic and you will love ... Read More

How to implement django-material in your Django project?

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:04:13

1K+ Views

Material Design is a design template that is very popular among developers. It is used at the frontend as CDN. In this article, we are going to see how to use material design on our form widgets and render that form from our views.Django-material is a library that will apply ... Read More

Google Authentication in Django

Ath Tripathi

Ath Tripathi

Updated on 26-Aug-2021 12:01:15

2K+ Views

In many developer websites, we get to see Google social authentication which is very handy. In this article, we will see how to create a Django Google login project.First, go to https://console.cloud.google.com/apis/dashboardand create a project .Go to Oauth consent screen and create a screen and save & continue.Go to credentials and ... Read More

Advertisements