jesse_jcharis

How to Use Github Workflow for Django Projects

Designing a GitHub workflow for CI/CD (Continuous Integration and Continuous Deployment) for a Django project involves creating a YAML configuration file that defines the steps to build, test, and deploy your Django application.In this tutorial we will explore a step-by-step guide on how to set up a GitHub workflow for a Django project: Create a …

How to Use Github Workflow for Django Projects Read More »

How to Track Page Views In Django Using Middleware

Application monitoring is an essential task when building and managing web applications. There exist several libraries and tools to monitor and track your application, however in this tutorial, we will see how to use Django’s build in middleware feature to track our page views. Tracking Page views Using Django Middleware A middleware in Django is …

How to Track Page Views In Django Using Middleware Read More »

How to Use Github Actions and Pytest For Your Python Project

Continuous Integration and Continuous Delivery and Deployment are essential principles in softwaredevelopment cycle. It has become the standard for every source version control hosting platform such as GitLab, Github, Azure Devops,etc to offer CI/CD pipelines in their platform. In this tutorial we will explore how to use Github Actions – a form of CI/CD workflow …

How to Use Github Actions and Pytest For Your Python Project Read More »

The Threats and Downsides of LLMs and ChatGPT

ChatGPT and LLMs(Large Language Models) are very useful information and search technologies.Unlike search engines,they do not just give information when queried they rather generate the written content.They offer several benefits such as below. It offers a conversational and interactive experience for retrieving information. It can be used for language translation and grammer correction It can …

The Threats and Downsides of LLMs and ChatGPT Read More »

50 AI Ideas and Applications with Bible

Below are some interesting AI ideas and applications with the Bible as the source or target Intelligent Bible Commentary : An AI-powered tool that provides commentary on specific Bible verses based on historical and cultural context. Bible Character Generation : An AI-powered tool that can generate unique biblical characters with their own backgrounds, personalities, and …

50 AI Ideas and Applications with Bible Read More »

JWT Authentication System with Django, SSO and DRF

In this tutorial we will create an OpenID Connect and JWT Authentication system with Django, DRF and SimpleJWT and RSA algorithm. First, let’s install the required packages: Next, let’s create a Django app called authentication: python manage.py startapp authentication We’ll define the models, serializers, views, and URLs in the authentication app. In models.py, we’ll define …

JWT Authentication System with Django, SSO and DRF Read More »

Creating A Django Middleware for JWT Authentication and SSO

Middlewares are tools that hooks into Django request and response life cycle. In this tutorial, generated with the assistance of ChatGPT, we will build a middleware for authentication using JWT (Json Web Tokens) and also for SSO (single sign on). Let us start Creating the Middleware import jwt from django.conf import settings from django.http import …

Creating A Django Middleware for JWT Authentication and SSO Read More »

How to Copy Table Data To Clipboard in Django with JavaScript

In this tutorial we will explore a two methods for creating a table where bywe can click on each row and copy the data to clipboard respectively.This is quite useful when you want to add copy row data instead of the entire table. Let us see how to do that. Designing the Table We will …

How to Copy Table Data To Clipboard in Django with JavaScript Read More »