Add media to gitignore

This commit is contained in:
Mauricio Baeza 2021-09-10 17:03:42 -05:00
parent 77a15fa8ab
commit 0e3b9dfb14
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
# ---> Python # ---> Python
conf.py conf.py
media/
# Byte-compiled / optimized / DLL files # Byte-compiled / optimized / DLL files
__pycache__/ __pycache__/

View File

@ -25,7 +25,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
STATIC_ROOT = os.path.join(BASE_DIR, 'static/') STATIC_ROOT = os.path.join(BASE_DIR, 'static/')
STATIC_URL = '/static/' STATIC_URL = '/static/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media/') MEDIA_ROOT = os.path.join(BASE_DIR, 'media/')
MEDIA_URL = 'media/' MEDIA_URL = '/media/'
# Quick-start development settings - unsuitable for production # Quick-start development settings - unsuitable for production