From patchwork Wed Jul 20 20:36:26 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Zygmunt Krynicki X-Patchwork-Id: 2889 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 6C8F72405E for ; Wed, 20 Jul 2011 20:36:29 +0000 (UTC) Received: from mail-qw0-f52.google.com (mail-qw0-f52.google.com [209.85.216.52]) by fiordland.canonical.com (Postfix) with ESMTP id 3D98FA187C5 for ; Wed, 20 Jul 2011 20:36:29 +0000 (UTC) Received: by qwb8 with SMTP id 8so453688qwb.11 for ; Wed, 20 Jul 2011 13:36:28 -0700 (PDT) Received: by 10.229.217.3 with SMTP id hk3mr8293166qcb.38.1311194188737; Wed, 20 Jul 2011 13:36:28 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.229.217.78 with SMTP id hl14cs123559qcb; Wed, 20 Jul 2011 13:36:28 -0700 (PDT) Received: by 10.216.233.92 with SMTP id o70mr7842391weq.71.1311194187465; Wed, 20 Jul 2011 13:36:27 -0700 (PDT) Received: from adelie.canonical.com (adelie.canonical.com [91.189.90.139]) by mx.google.com with ESMTP id f46si1184852wed.131.2011.07.20.13.36.27; Wed, 20 Jul 2011 13:36:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) client-ip=91.189.90.139; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of bounces@canonical.com designates 91.189.90.139 as permitted sender) smtp.mail=bounces@canonical.com Received: from loganberry.canonical.com ([91.189.90.37]) by adelie.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1QjdVK-00079O-ST for ; Wed, 20 Jul 2011 20:36:26 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id D51352EA003 for ; Wed, 20 Jul 2011 20:36:26 +0000 (UTC) MIME-Version: 1.0 X-Launchpad-Project: lava-server X-Launchpad-Branch: ~linaro-validation/lava-server/trunk X-Launchpad-Message-Rationale: Subscriber X-Launchpad-Branch-Revision-Number: 214 X-Launchpad-Notification-Type: branch-revision To: Linaro Patch Tracker From: noreply@launchpad.net Subject: [Branch ~linaro-validation/lava-server/trunk] Rev 214: In development mode keep media files separate for each database Message-Id: <20110720203626.32572.84715.launchpad@loganberry.canonical.com> Date: Wed, 20 Jul 2011 20:36:26 -0000 Reply-To: noreply@launchpad.net Sender: bounces@canonical.com Errors-To: bounces@canonical.com Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="13468"; Instance="initZopeless config overlay" X-Launchpad-Hash: 94f2637429e6242d1723f6141ec4f24f07f25ae9 ------------------------------------------------------------ revno: 214 committer: Zygmunt Krynicki branch nick: trunk timestamp: Wed 2011-07-20 22:30:04 +0200 message: In development mode keep media files separate for each database modified: lava_server/settings/development.py --- lp:lava-server https://code.launchpad.net/~linaro-validation/lava-server/trunk You are subscribed to branch lp:lava-server. To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription === modified file 'lava_server/settings/development.py' --- lava_server/settings/development.py 2011-07-13 10:26:20 +0000 +++ lava_server/settings/development.py 2011-07-20 20:30:04 +0000 @@ -110,7 +110,7 @@ # Absolute filesystem path to the directory that will hold user-uploaded files. # Example: "/home/media/media.lawrence.com/" -MEDIA_ROOT = os.path.join(PROJECT_STATE_DIR, "media") +MEDIA_ROOT = os.path.join(PROJECT_STATE_DIR, "media", devel_db) # Absolute filesystem path to the directory that will hold static, read only # files collected from all applications.