I use Windows 10 and I just start python
why my root code is just 'NAME': BASE_DIR / 'db.sqlite3'
, When searching, many people come up with 'NAME': os.path.join(BASE_DIR, 'db.sqlite3')
, this way. Why am I only different?
When I try to check the database, it cannot be checked. However, it is possible to update the database through migration. How can I check the make sqlite3 of data?
(fcdjango_env) PS C:\python_mvt\fc_community> sqlite3 db.sqlite3
sqlite3: The term 'sqlite3' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
I use Windows 10 and I just start python
why my root code is just 'NAME': BASE_DIR / 'db.sqlite3'
, When searching, many people come up with 'NAME': os.path.join(BASE_DIR, 'db.sqlite3')
, this way. Why am I only different?
When I try to check the database, it cannot be checked. However, it is possible to update the database through migration. How can I check the make sqlite3 of data?
(fcdjango_env) PS C:\python_mvt\fc_community> sqlite3 db.sqlite3
sqlite3: The term 'sqlite3' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
You asked two questions:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.