Skip to content

Commit

Permalink
update:tugas6
Browse files Browse the repository at this point in the history
  • Loading branch information
Marsupilamieue committed Oct 8, 2023
1 parent ba8fde9 commit 70bd51b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ RUN chown -R django:django /app
USER django

# Run application
# CMD gunicorn shopeeng_list.wsgi:application
# CMD gunicorn shopeeng.wsgi:application
3 changes: 2 additions & 1 deletion shopeeng/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'django-insecure--)$w07in_!^o_!#r%@@2ahejrkru7c=80-s(xsr^9g8gy%av*+'
PRODUCTION = env.bool('PRODUCTION', False)

PROJECT_PATH = os.path.abspath(os.path.dirname(__name__))
STATIC_ROOT = os.path.join(PROJECT_PATH, 'static')
STATIC_URL = 'static'
STATIC_URL = 'static/'

STATIC_ROOT = os.path.join(BASE_DIR, 'static')

Expand Down Expand Up @@ -139,6 +139,7 @@

STATIC_URL = 'static/'

STATIC_ROOT = os.path.join(BASE_DIR, 'static')
# Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field

Expand Down

0 comments on commit 70bd51b

Please sign in to comment.