Skip to main content

Posts

Showing posts with the label django

Create a URL Shortener app with Python and Django Easily. Part-1

Create a URL Shortener app with Django  Part 1. How to set up and activate the virtual environment & installing Django. READ PART 2:   https://blogofchamodh.blogspot.com/2022/07/create-url-shortener-app-with-python-part2.html READ PART 3:  https://blogofchamodh.blogspot.com/2022/08/create-url-shortener-app-with-python.html As promised in the previous post ( How to generate a random string with Python. ), I am starting a post series on creating a URL Shortener app with Django and Python. Photo by LinkedIn Sales Solutions on Unsplash Getting Started INFO: I am using GitBash CLI and if anyone uses it please download and install it following the link below.  https://gitforwindows.org/ First, we have to create a virtual environment so that we can isolate our project. Even if there are too many ways to do it,  I am going to use virtualenv to do it. To create a virtual environment, follow the instructions below. 1. Create a new folder. To make things easier, we ...