From patchwork Wed Jul 13 22:25:25 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Finucane X-Patchwork-Id: 648107 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3rqYLz0PPvz9sXy for ; Thu, 14 Jul 2016 08:25:47 +1000 (AEST) Received: from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 3rqYLy5bglzDqGW for ; Thu, 14 Jul 2016 08:25:46 +1000 (AEST) X-Original-To: patchwork@lists.ozlabs.org Delivered-To: patchwork@lists.ozlabs.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lists.ozlabs.org (Postfix) with ESMTP id 3rqYLg1lklzDqFG for ; Thu, 14 Jul 2016 08:25:31 +1000 (AEST) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga102.fm.intel.com with ESMTP; 13 Jul 2016 15:25:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,359,1464678000"; d="scan'208";a="845804290" Received: from irvmail001.ir.intel.com ([163.33.26.43]) by orsmga003.jf.intel.com with ESMTP; 13 Jul 2016 15:25:29 -0700 Received: from sivswdev01.ir.intel.com (sivswdev01.ir.intel.com [10.237.217.45]) by irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id u6DMPRoF018539; Wed, 13 Jul 2016 23:25:27 +0100 Received: from sivswdev01.ir.intel.com (localhost [127.0.0.1]) by sivswdev01.ir.intel.com with ESMTP id u6DMPRM2015050; Wed, 13 Jul 2016 23:25:27 +0100 Received: (from sfinucan@localhost) by sivswdev01.ir.intel.com with id u6DMPRX8015046; Wed, 13 Jul 2016 23:25:27 +0100 From: Stephen Finucane To: patchwork@lists.ozlabs.org Subject: [PATCH 2/2] settings: Add PASSWORD_HASHER Date: Wed, 13 Jul 2016 23:25:25 +0100 Message-Id: <1468448725-15004-2-git-send-email-stephen.finucane@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1468448725-15004-1-git-send-email-stephen.finucane@intel.com> References: <1468448725-15004-1-git-send-email-stephen.finucane@intel.com> X-BeenThere: patchwork@lists.ozlabs.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Patchwork development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: patchwork-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Patchwork" This improves run time by a few seconds, and is worth having. Signed-off-by: Stephen Finucane Tested-by: Andy Doan --- patchwork/settings/dev.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/patchwork/settings/dev.py b/patchwork/settings/dev.py index 63e066b..16d3aee 100644 --- a/patchwork/settings/dev.py +++ b/patchwork/settings/dev.py @@ -51,6 +51,15 @@ else: EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # +# Auth settings +# https://docs.djangoproject.com/en/1.8/ref/settings/#auth +# + +# Use a faster, though less secure, password hasher for faster tests +# https://docs.djangoproject.com/es/1.9/topics/testing/overview/#password-hashing +PASSWORD_HASHERS = ['django.contrib.auth.hashers.MD5PasswordHasher'] + +# # Third-party application settings #