JAWD-001 / peer_mentoring

Peer Mentoring Application
0 stars 1 forks source link

add style.css (and static folder) #47

Open bbelderbos opened 1 year ago

bbelderbos commented 1 year ago

then you can override .alert to center the text of the messages (text-align: center;)

bbelderbos commented 1 year ago
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
STATIC_HOST = config('DJANGO_STATIC_HOST', default='')
STATIC_URL = STATIC_HOST + '/static/'

STATIC_ROOT = os.path.join(PROJECT_ROOT, 'staticfiles')
# STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'

STATICFILES_DIRS = (
    os.path.join(PROJECT_ROOT, 'static'),
)

TODO: add whitenoise for static files when you deploy