This is the correct placement for managing the project alone.
In addition to the django project, mysite
in this case, there are many other files that you would like to add, but you can always put them at the top of the directory you want to manage.
I will manage everything below .git.
.gitignore
You can download the .gitignore template for git management on a specified service from a service called gitignore.io.
Below is the django template
#Created by https://www.gitignore.io/api/linux,django
### Django###
*.log
*.pot
*.pyc
__pycache__/
local_settings.py
db.sqlite3
media
# If your build process includes running collectstatic, then...
884 When building Fast API+Uvicorn environment with PyInstaller, console=False results in an error
567 Who developed the "avformat-59.dll" that comes with FFmpeg?
567 rails db:create error: Could not find mysql2-0.5.4 in any of the sources
606 Uncaught (inpromise) Error on Electron: An object could not be cloned
© 2024 OneMinuteCode. All rights reserved.