Reading Time: < 1 minute There are multiple ways to find Django Version Option 1 Another option to login to python shell and query for django version Option 2 Option 3 Execute like a bash option -c , -c option allows to execute commands as string Option 4 Using django-admin command you can get django version Option 5 You can… Continue reading How to find the Django version
Tag: Python
Django error message: [“’on’ value must be either True or False.”]
Reading Time: < 1 minute This error occurs in multiple use cases, the following is one use cases which i faced, The usecase is when you use custom user model, and you are creating the migrations from the beginning on a new database, Django will not allow createsuperuser on the custom model. You can follow this simple solution to solve… Continue reading Django error message: [“’on’ value must be either True or False.”]