blob: cd48f1252fc2319ae80a3044774787661ad58f8a [file] [log] [blame]
lombardofr3218b2b2018-10-29 13:41:08 +01001#
2# Copyright 2018 EveryUP Srl
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
lombardoffb37bca2018-05-03 16:20:04 +020017from django.conf import settings # import the settings file
18
19
20def conf_constants(request):
21 # return the value you want as a dictionnary. you may add multiple values in there.
22 return {
23 'SITE_NAME': settings.SITE_NAME,
24 'SHORT_SITE_NAME': settings.SHORT_SITE_NAME,
25 'VERSION': settings.VERSION,
26 }