This has been tested on PostgreSQL 12.6 and Ubuntu 20.04 First open the psql prompt so that we can create the user and database. Now, we will create two …
Create datetime instance with timezone info: Passing tzinfo in datetime is not recommended by pytz. Converting datetime to different timezone: Exercise: Find out what is the value of dt …
Ubuntu: To install python3.6 in Ubuntu, follow this link Now to create virtual environment first we need to install virtualenv using pip, run below command to do the same: …
Uploading files to the server is one of the common tasks nowadays. In this tutorial, we will see how can we upload a file using the Django-rest framework. First, …
As you know Amazon’s Route 53 isn’t free and it costs you money to even map your domain to your server. And it is also a little complex than …
You can host the Django application and PHP site on the same VPS. This is easy to set up and you don’t need to be an expert to do …