pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rich Shepard <rshepard@appl-ecosys.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Recomended front ends?
Date: Thu, 8 Aug 2019 10:40:59 -0700
Message-ID: <3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com> (raw)
In-Reply-To: <alpine.LNX.2.20.1908081030570.9087@salmo.appl-ecosys.com>
References: <20190807185708.GA19765@panix.com>
	<CA+FnnTzfHoYOGX8c-SL6Aic6W6t+8ro5HPFQ_x=LFbkLfFa5Tg@mail.gmail.com>
	<alpine.LNX.2.20.1908071335060.12111@salmo.appl-ecosys.com>
	<2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com>
	<alpine.LNX.2.20.1908081030570.9087@salmo.appl-ecosys.com>

On 8/8/19 10:34 AM, Rich Shepard wrote:
> On Thu, 8 Aug 2019, Stuart McGraw wrote:
> 
>> I would be a little cautious about Django.
> 
>> Specifically IIRC it insists that tables have a single-column primary
>> keys.
> 
> Stuart,
> 
> I looked seriously at Django and did not encounter that limitation. 
> However,
> I did learn that I'm not a web application developer nor do I want to be.
> The applications I develop, primarily for my own business needs. use
> SQLAlchemy and that allows multi-column primary keys. That's a necessity 
> for
> many-to-many tables (or SA classes).
> 
> I suspect that Django also allows multi-column primary keys but the syntax
> might not be obvious.

Unfortunately it does not:
https://code.djangoproject.com/wiki/MultipleColumnPrimaryKeys

Given that the issue:

https://code.djangoproject.com/ticket/373

is 14 years old does not inspire confidence that it will change anytime 
soon.

> 
> Regards,
> 
> Rich
> 
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (24+ messages)  latest in thread

Message-ID: <3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com>
Permalink:  ../3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com/
Also on:    postgresql.org/message-id/3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, rshepard@appl-ecosys.com
  Subject: Re: Recomended front ends?
  In-Reply-To: <3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com>
  References: <20190807185708.GA19765@panix.com> <CA+FnnTzfHoYOGX8c-SL6Aic6W6t+8ro5HPFQ_x=LFbkLfFa5Tg@mail.gmail.com> <alpine.LNX.2.20.1908071335060.12111@salmo.appl-ecosys.com> <2e05945f-eaa9-2034-97b2-605e7fdb6746@mtneva.com> <alpine.LNX.2.20.1908081030570.9087@salmo.appl-ecosys.com> <3cc9f7ab-2bb8-22c4-5995-63ebcb547240@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox