Skip to content

Commit

Permalink
fix: add SITE_ID to settings
Browse files Browse the repository at this point in the history
  • Loading branch information
yjoonjang committed Mar 20, 2024
1 parent 80e9bc4 commit 32934b8
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions resumai/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,13 +169,17 @@
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/5.0/howto/static-files/

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

STATIC_URL = '/static/'

STATICFILES_DIRS = (
os.path.join('staticfiles/'),
)
STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'myapp/static'),
# 여기에 추가적인 정적 파일 디렉토리 경로를 추가할 수 있습니다.
]

# Default primary key field type
# https://docs.djangoproject.com/en/5.0/ref/settings/#default-auto-field

DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField"
SITE_ID = 1

0 comments on commit 32934b8

Please sign in to comment.