Commit 69fa2c60 authored by David Seaward's avatar David Seaward

update to django 1.11.2

parent 3916a1af
""" """
Django settings for purist_account project. Django settings for purist_account project.
Generated by 'django-admin startproject' using Django 1.10.6. Generated by 'django-admin startproject' using Django 1.11.2.
For more information on this file, see 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 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 import os
...@@ -17,7 +17,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ...@@ -17,7 +17,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production # 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! # SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'secret' SECRET_KEY = 'secret'
...@@ -81,7 +81,7 @@ WSGI_APPLICATION = 'purist_account.wsgi.application' ...@@ -81,7 +81,7 @@ WSGI_APPLICATION = 'purist_account.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DATABASES = { DATABASES = {
'default': { 'default': {
...@@ -92,7 +92,7 @@ DATABASES = { ...@@ -92,7 +92,7 @@ DATABASES = {
# Password validation # 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 = [ AUTH_PASSWORD_VALIDATORS = [
{ {
...@@ -111,7 +111,7 @@ AUTH_PASSWORD_VALIDATORS = [ ...@@ -111,7 +111,7 @@ AUTH_PASSWORD_VALIDATORS = [
# Internationalization # Internationalization
# https://docs.djangoproject.com/en/1.10/topics/i18n/ # https://docs.djangoproject.com/en/1.11/topics/i18n/
LANGUAGE_CODE = 'en-us' LANGUAGE_CODE = 'en-us'
...@@ -125,6 +125,6 @@ USE_TZ = True ...@@ -125,6 +125,6 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # 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/' STATIC_URL = '/static/'
...@@ -65,7 +65,7 @@ AUTH_USER_MODEL = 'ldapregister.User' ...@@ -65,7 +65,7 @@ AUTH_USER_MODEL = 'ldapregister.User'
# #
# See also: # See also:
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases # https://docs.djangoproject.com/en/1.11/ref/settings/#databases
# and https://pypi.python.org/pypi/django-ldapdb/ # and https://pypi.python.org/pypi/django-ldapdb/
# (re-uses LDAP connection details from authentication settings, you can change this) # (re-uses LDAP connection details from authentication settings, you can change this)
...@@ -84,3 +84,4 @@ DATABASES = { ...@@ -84,3 +84,4 @@ DATABASES = {
} }
DATABASE_ROUTERS = ['ldapdb.router.Router'] DATABASE_ROUTERS = ['ldapdb.router.Router']
"""purist_account URL Configuration """purist_account URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see: The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/ https://docs.djangoproject.com/en/1.11/topics/http/urls/
Examples: Examples:
Function views Function views
1. Add an import: from my_app import views 1. Add an import: from my_app import views
......
...@@ -4,7 +4,7 @@ WSGI config for purist_account project. ...@@ -4,7 +4,7 @@ WSGI config for purist_account project.
It exposes the WSGI callable as a module-level variable named ``application``. It exposes the WSGI callable as a module-level variable named ``application``.
For more information on this file, see For more information on this file, see
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/ https://docs.djangoproject.com/en/1.11/howto/deployment/wsgi/
""" """
import os import os
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment