OperationalError, no such column. Django

Step 1: Delete the db.sqlite3 file.
Step 2 : $ python manage.py migrate
Step 3 : $ python manage.py makemigrations
Step 4: Create the super user using $ python manage.py createsuperuser
new db.sqlite3 will generates automatically

Comments

Popular posts from this blog

How to Connect Firebase Using Pyrebase In Python

How to get Full URL or get absolute url In Django

How To Convert Html File/URL/String Into Image Using Python