(myapp_env) C:\Users\Maahi\my-django\mysite>less mysite/settings.py'less' is not recognized as an internal or external command,operable program or batch file. Using windows10 and notepad
I am getting an error File "/home/sandeep/my-django/mysite/blog/models.py", line 8 (auto_now_add=True) ^SyntaxError: invalid syntax
5441 visits
Outline:Creating Django Models About Django App Djano Model Create a blog app Blog app directory structure Initialize a Django app Create a Django Model and Perform Database migration Settings.py file manage.py migrate command makemigrations command 001_initial.py file
Creating Django Models About Django App Djano Model Create a blog app Blog app directory structure Initialize a Django app Create a Django Model and Perform Database migration Settings.py file manage.py migrate command makemigrations command 001_initial.py file
Show video info
Pre-requisite