Commit 43002d6f authored by Joshua Son's avatar Joshua Son

Replace settings.py

parent e2d5715c
......@@ -12,7 +12,6 @@ https://docs.djangoproject.com/en/3.2/ref/settings/
import os
from pathlib import Path
import environ
import os
env = environ.Env()
environ.Env.read_env()
......@@ -126,14 +125,6 @@ USE_TZ = True
# https://docs.djangoproject.com/en/3.2/howto/static-files/
STATIC_URL = '/static/'
<<<<<<< HEAD
MEDIA_URL = '/media/'
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
STATICFILES_DIR = (
os.path.join(BASE_DIR, 'statics')
)
=======
MEDIA_URL = '/images/'
STATICFILES_DIRS = [
......@@ -141,7 +132,6 @@ STATICFILES_DIRS = [
]
MEDIA_ROOT = os.path.join(BASE_DIR, 'static/images')
>>>>>>> cfaf9ababe2607db22a5f225df2d8f007ea1dc50
# Default primary key field type
# https://docs.djangoproject.com/en/3.2/ref/settings/#default-auto-field
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment