Skip to content

Commit

Permalink
Merge pull request #11 from resum-ai/feat/login
Browse files Browse the repository at this point in the history
fix: add SITE_ID to settings
  • Loading branch information
yjoonjang authored Mar 20, 2024
2 parents d046e99 + 32934b8 commit 373b289
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 373b289

Please sign in to comment.