python

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