Recreating Tables for a Specific Django App

Recreating Tables for a Specific Django App: To delete a table from a specific app in Django, follow these steps: Firstly, let’s get rid of the migration folder for that particular app you have in mind. Now, execute the following command: python manage.py dbshell After running the above command, use the following command within the […]

Read more.

Setup DigitalOcean spaces in django

Here I will explain how to set up DigitalOcean spaces in the django app, one of the popular products in DigitalOcean. Before you start reading this post, you are reading this post as an expert user, so I won’t explain simple points. The first step is to install Django, gunicorn, Django-storages, and boto3 packages using pip: pip install […]

Read more.