mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2025-02-10 15:29:26 +01:00
Update demo settings to link to django 1.11 documentation since we require that version
This commit is contained in:
parent
e19666b729
commit
73ba28cb6c
@ -1,13 +1,11 @@
|
||||
"""
|
||||
Django settings for django-helpdesk demodesk project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 1.10.2.
|
||||
|
||||
For more information on this file, see
|
||||
https://docs.djangoproject.com/en/1.10/topics/settings/
|
||||
https://docs.djangoproject.com/en/1.11/topics/settings/
|
||||
|
||||
For the full list of settings and their values, see
|
||||
https://docs.djangoproject.com/en/1.10/ref/settings/
|
||||
https://docs.djangoproject.com/en/1.11/ref/settings/
|
||||
"""
|
||||
|
||||
import os
|
||||
@ -17,7 +15,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
|
||||
|
||||
# Quick-start development settings - unsuitable for production
|
||||
# See https://docs.djangoproject.com/en/1.10/howto/deployment/checklist/
|
||||
# See https://docs.djangoproject.com/en/1.11/howto/deployment/checklist/
|
||||
|
||||
# SECURITY WARNING: keep the secret key used in production secret!
|
||||
SECRET_KEY = '_crkn1+fnzu5$vns_-d+^ayiq%z4k*s!!ag0!mfy36(y!vrazd'
|
||||
@ -110,7 +108,7 @@ LOGIN_REDIRECT_URL = '/login/'
|
||||
# Database
|
||||
# - by default, we use SQLite3 for the demo, but you can also
|
||||
# configure MySQL or PostgreSQL, see the docs for more:
|
||||
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
|
||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
|
||||
|
||||
DATABASES = {
|
||||
'default': {
|
||||
@ -124,13 +122,13 @@ DATABASES = {
|
||||
# - this allows hosting of more than one site from a single server,
|
||||
# in practice you can probably just leave this default if you only
|
||||
# host a single site, but read more in the docs:
|
||||
# https://docs.djangoproject.com/en/1.10/ref/contrib/sites/
|
||||
# https://docs.djangoproject.com/en/1.11/ref/contrib/sites/
|
||||
|
||||
SITE_ID = 1
|
||||
|
||||
|
||||
# Sessions
|
||||
# https://docs.djangoproject.com/en/1.10/topics/http/sessions
|
||||
# https://docs.djangoproject.com/en/1.11/topics/http/sessions
|
||||
|
||||
SESSION_COOKIE_AGE = 86400 # = 1 day
|
||||
|
||||
@ -143,7 +141,7 @@ SESSION_COOKIE_AGE = 86400 # = 1 day
|
||||
|
||||
|
||||
# Password validation
|
||||
# https://docs.djangoproject.com/en/1.10/ref/settings/#auth-password-validators
|
||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
|
||||
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
{
|
||||
@ -161,7 +159,7 @@ AUTH_PASSWORD_VALIDATORS = [
|
||||
]
|
||||
|
||||
# Email
|
||||
# https://docs.djangoproject.com/en/1.10/topics/email/
|
||||
# https://docs.djangoproject.com/en/1.11/topics/email/
|
||||
|
||||
# This demo uses the console backend, which simply prints emails to the console
|
||||
# rather than actually sending them out.
|
||||
@ -175,10 +173,10 @@ EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
#EMAIL_PORT = '25'
|
||||
|
||||
# Internationalization
|
||||
# https://docs.djangoproject.com/en/1.10/topics/i18n/
|
||||
# https://docs.djangoproject.com/en/1.11/topics/i18n/
|
||||
|
||||
# By default, django-helpdesk uses en, but other languages are also available.
|
||||
# The most complete translations are: es-MX, ru
|
||||
# The most complete translations are: es-MX, ru, zh-Hans
|
||||
# Contribute to our translations via Transifex if you can!
|
||||
# See CONTRIBUTING.rst for more info.
|
||||
LANGUAGE_CODE = 'en-US'
|
||||
@ -193,7 +191,7 @@ USE_TZ = True
|
||||
|
||||
|
||||
# Static files (CSS, JavaScript, Images)
|
||||
# https://docs.djangoproject.com/en/1.10/howto/static-files/
|
||||
# https://docs.djangoproject.com/en/1.11/howto/static-files/
|
||||
|
||||
STATIC_URL = '/static/'
|
||||
|
||||
@ -204,7 +202,7 @@ MEDIA_URL = '/media/'
|
||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||
|
||||
# Fixtures
|
||||
# https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-FIXTURE_DIRS
|
||||
# https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-FIXTURE_DIRS
|
||||
# - This is only necessary to make the demo project work, not needed for
|
||||
# your own projects unless you make your own fixtures
|
||||
FIXTURE_DIRS = [os.path.join(BASE_DIR, 'fixtures')]
|
||||
|
Loading…
Reference in New Issue
Block a user