Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2dCt-0003la-3X for pgsql-general@arkaria.postgresql.org; Tue, 27 Aug 2019 15:16:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i2dCs-00025G-0L for pgsql-general@arkaria.postgresql.org; Tue, 27 Aug 2019 15:16:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i2dCr-0001yD-IQ for pgsql-general@lists.postgresql.org; Tue, 27 Aug 2019 15:16:25 +0000 Received: from [64.147.123.21] (helo=wout5-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1i2dCo-00067V-JW for pgsql-general@lists.postgresql.org; Tue, 27 Aug 2019 15:16:24 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0E9D146E; Tue, 27 Aug 2019 11:16:10 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Tue, 27 Aug 2019 11:16:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=4 Nk1iRqKh8KhQyUYhOjRddRD+MVY6IxeTx/vPZMKImM=; b=p1RcMu81EnFpcSdOA 5AsSTrbma6aQiNhLBnc9GPWs3PnIgqj9PmsE+3gQ7UQ6yDzWLVHuQI3Kxj9xp2F9 ymDCGsm9qbWb+aav8JRoECAD7vOk2F2gjIDwrkhEVsqjm0dsHcskycicILrH8z1Z XPjDZSuX6vDhbImCdgzbaAm32eGP8ArURWSn7FlJTVzyjfhraLYjb6LnVojdadMJ i7ecUgFEK2hqxadgBTnFDIA2ugS/YHZqHTiWFHhzneIQg3vMZKuEChkhV0jhyX84 NhaU6y5qnkK6RKjhwWwCnuC12/vf1hIVNFKK95487GxQvn8i/KcJ9RAsA/BPNaB+ c8zSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=4Nk1iRqKh8KhQyUYhOjRddRD+MVY6IxeTx/vPZMKI mM=; b=gl7nbIkQr2etKSKCVS7cOzMghySzwVr7nEV9O5WQ9pCxxbbrYKGwXwqyH dtr0hLCiZ+kMOnE0rujKOuvhz8k4Nbf8XQwGV9zrlhLCFpmKbCDGLyummZpdo+WI bmLEyxFShlojM6iwLhx74H/SNxW06wwLAkbFNrGDPMPKjkMbTAfPQc3BPRxs96XK E1vasKLSK8LlQ80ijqUJNYJnLIJERVSL0YBEuCgSB3hED4JHzQTEi6bfqQDmZm22 FKOsqZ3m0xB4vQMIZxJarrRtVq48eEFI+Zu43QaKSiylKsJHWJ4PX7DW1vAHABtY yt+z0g61Fi1XnzQx8lZEHpvfPFCQQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrudehkedgfeegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucffohhmrghinhepughjrghnghhophhrohhjvggtthdrtghomhdpghhithhhuhgs rdgtohhmnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlhhu shhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 8AE02D60057; Tue, 27 Aug 2019 11:16:09 -0400 (EDT) Subject: Re: Recomended front ends? To: Daniele Varrazzo , "Peter J. Holzer" Cc: pgsql-general@lists.postgresql.org References: <20190807185708.GA19765@panix.com> <2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com> <3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com> <20190811184907.GC18277@hjp.at> From: Adrian Klaver Message-ID: Date: Tue, 27 Aug 2019 08:16:08 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 64.147.123.21 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/27/19 8:04 AM, Daniele Varrazzo wrote: > On Sun, Aug 11, 2019 at 7:49 PM Peter J. Holzer wrote: > >> Django lets you use "unmanaged" tables, but it is quite noticeable that >> this isn't the primary use case. > > It isn't, but it's the best way to use Django for database-literate > people. It's enough to ignore the Django sale pitch of the database as > a replaceable element and just assume Postgres. In Docker times you > don't need SQLite to create a poorly representative "development > database". Django takes Postgres as it's reference database which makes things easier, especially when you add in contrib.postgres(https://docs.djangoproject.com/en/2.2/ref/contrib/postgres/) > > You can just ignore the Django ORM for the whole data-definition layer > and migrations: you can have your database schema, with comments, in > your source code, with strict control of what's in the db (exotic > index definitions, exclusion constraints, writable views...) and only > use the ORM to read and manipulate data, as long as the Django model > "resembles" the database table. > Schema migrations are easy to deal with using SQL patches [1], and > complete, unlike any Model-based migration system. +1 > > Using the Django ORM to create complex queries is a joy (especially > nesting subqueries), and you don't lose all the other Django > facilities (decent auth model, decent CRUD interface, customisation > when "decent" is not enough). > > [1] https://gist.github.com/dvarrazzo/4161070 > > -- Daniele > > > -- Adrian Klaver adrian.klaver@aklaver.com