Silver Library (Archived)
#4 Django and 'migrate' & application 본문
Such a warning message (17 unapplied migration) will appear UNLESS I do 'migrate'.
Issue :
After running migrate, 'db.sqlite3' did not generate itself.
# db.sqllite3 is a file of sql language.
Solution :
# Make sure the server is running. Then proceed to 'migrate' phase.
Turn off VSCode, then re-run. It will appear on the file list. Assume this is an old never-fixed issue since Windows 97. So, I need to refresh that programme if the file never appears or generates itself.
Django will do the work what MySQL do.
Application
An app is a web application that does something like - weblog (from Django document)
# Each application should be described in one sentence. Make it independent.
Don't include too many things in a single group.
(e.g. users for 15functions , rooms for 5 functions etc. Already enough. This means, consider to make it separately if I need to add extra function.)
'Personal DB > Unclassified record' 카테고리의 다른 글
Django - why I stuck? and solution (0) | 2020.12.14 |
---|---|
Django - error and reinstalling django-countries (0) | 2020.12.14 |
#3 Django - how dev only server works? (0) | 2020.11.24 |
[Django] port error - Error: That port is already in use. (0) | 2020.11.24 |
#2 VSCode, Django setting. (0) | 2020.11.24 |