Limit only one session per user at a time in WordPress

Django – How to create unique slug for posts

Creating unique slugs will help us to create beautiful URLs in Django websites. While creating the Model itself, we need to create a field for slug as follows Write a save() function to process the slug while creating the post. Use following code to generate unique slug for a post when created. This example is…

Read More
Install django using gunicorn and nginx

Deploy Django website in Ubuntu server using Nginx, Gunicorn with Postgres DB and apply SSL

Introduction Django is undoubtedly one of the most popular and powerful framework / MVC today. This is a high-level Python web framework. Many popular and heavy websites like Instagram, Pinterest use django framework. As a developer, I struggled initially on how to deploy a website in a Ubuntu server. After going through many tutorials, videos…

Read More