1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2025-06-21 01:48:21 +02:00

add default profile pic

This commit is contained in:
Pierre-antoine Comby
2020-03-03 14:24:07 +01:00
parent 901454f338
commit 211859e940
5 changed files with 11 additions and 1 deletions

View File

@ -92,6 +92,7 @@ TEMPLATES = [
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
'django.template.context_processors.request',
# 'django.template.context_processors.media',
],
},
},
@ -188,3 +189,5 @@ STATIC_URL = '/static/'
ALIAS_VALIDATOR_REGEX = r''
MEDIA_ROOT=os.path.join(BASE_DIR,"media")
MEDIA_URL='/media/'