# Copyright (c) 2020 Association Prologin <*****@*****.**> # # SPDX-Licence-Identifier: GPL-3.0+ from prologin.djangoconf import use_profile_config from django.urls import reverse_lazy cfg = use_profile_config('wiki') ALLOWED_HOSTS = ['*'] # Application definition INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django.contrib.sites.apps.SitesConfig', 'django.contrib.humanize.apps.HumanizeConfig', 'prologin.wiki.wiki_prologin', 'django_nyt.apps.DjangoNytConfig', 'mptt', 'sekizai', 'sorl.thumbnail', 'wiki.apps.WikiConfig', 'wiki.plugins.attachments.apps.AttachmentsConfig',
# the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Prologin-SADM is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Prologin-SADM. If not, see <http://www.gnu.org/licenses/>. from django.core.urlresolvers import reverse_lazy from pathlib import Path from prologin.djangoconf import use_profile_config cfg = use_profile_config('concours') ALLOWED_HOSTS = ['*'] SITE_ID = 1 LOGIN_URL = reverse_lazy('login') LOGIN_REDIRECT_URL = reverse_lazy('home') # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale USE_L10N = True
# Copyright (c) 2018 Association Prologin <*****@*****.**> # # SPDX-Licence-Identifier: GPL-3.0+ from prologin.djangoconf import use_profile_config cfg = use_profile_config('paste') ALLOWED_HOSTS = ['*'] # Application definition INSTALLED_APPS = ( 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'staticinline.apps.StaticInlineAppConfig', 'dpaste', 'prologin.paste.dpaste_admin', 'django_prometheus', ) TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [
# # Prologin-SADM is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Prologin-SADM is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Prologin-SADM. If not, see <http://www.gnu.org/licenses/>. from prologin.djangoconf import use_profile_config cfg = use_profile_config('mdb-server') # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts ALLOWED_HOSTS = ['*'] SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery. USE_I18N = True # If you set this to False, Django will not format dates, numbers and # calendars according to the current locale. USE_L10N = True
# # Prologin-SADM is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # Prologin-SADM is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with Prologin-SADM. If not, see <http://www.gnu.org/licenses/>. from prologin.djangoconf import use_profile_config cfg = use_profile_config('homepage') ADMINS = ( # ('Your Name', '*****@*****.**'), ) MANAGERS = ADMINS # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts ALLOWED_HOSTS = ['*'] SITE_ID = 1 # If you set this to False, Django will make some optimizations so as not # to load the internationalization machinery.