manuels-scolaires/manuels/context_processors.py

5 lines
121 B
Python

import os
def authorized_mails(request):
return {'authorized_mails': os.getenv('AUTHORIZED_MAILS', '').split(',')}