Skip to content
This repository has been archived by the owner on Dec 10, 2023. It is now read-only.

Updated git ignore to ignore migrations . Refatored settings #11

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ __pycache__
db.sqlite3
media

#ignoring uploaded png files
*.png
*.jpg


#ignoring migration files
**/migrations/*
**/migrations/
**/**/migrations

#ignoring pip files
Pipfile
Pipfile.lock
Expand Down Expand Up @@ -138,4 +148,4 @@ GitHub.sublime-settings
!.vscode/tasks.json
!.vscode/launch.json
!.vscode/extensions.json
.history
.history
2 changes: 1 addition & 1 deletion config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,4 +127,4 @@
DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'


MEDIA_ROOT = BASE_DIR / "profile_photos"
MEDIA_ROOT = BASE_DIR / "profile_images"
Binary file removed profile_photos/2022/12/deafult.png
Binary file not shown.