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

Commit

Permalink
Merge pull request #11 from TheRealSibasishBehera/main
Browse files Browse the repository at this point in the history
Updated git ignore to ignore migrations .  Refatored settings
  • Loading branch information
TheRealSibasishBehera committed Dec 19, 2022
2 parents 1d355e7 + a78572f commit c2fb08b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
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.

0 comments on commit c2fb08b

Please sign in to comment.