Re: Psycopg3 Redesign

2020-04-01 Thread Asif Saif Uddin
Report: https://www.varrazzo.com/blog/2020/03/26/psycopg3-first-report/ ./auvipy On Wednesday, March 11, 2020 at 9:06:21 PM UTC+6, Andrew Godwin wrote: > > I am particularly excited for native async support arriving - that's > something I'd love to have and ship support for from our side when i

Re: models.E026: The model cannot have more than one field with primary_key=True.

2020-04-01 Thread Marcin Nowak
Good point about concat. Thanks. I think that introducing views in Django solve such issues (probably no pk in views will be allowed). PS. I'll discuss this (and the 2nd topic) later, because I'm quite busy today. Thanks again for the hint. W dniu środa, 1 kwietnia 2020 13:04:26 UTC+2 użytkown

Re: models.E026: The model cannot have more than one field with primary_key=True.

2020-04-01 Thread Adam Johnson
Hi Marcin Multiple column primary keys is a long-open feature request. There's a wiki page: https://code.djangoproject.com/wiki/MultipleColumnPrimaryKeys and the ticket, still open, is #373: https://code.djangoproject.com/ticket/373 . I'm not sure your suggestion of removing the ".pk" mapping wil

models.E026: The model cannot have more than one field with primary_key=True.

2020-04-01 Thread Marcin Nowak
Hi. I'd ask about "models.E026: The model cannot have more than one field with primary_key=True". It's not a true. The table or view *can* have more than one *column* as a part of a primary key. It's pretty common, when you have views with cross joins or unpivots. I can add models.E026 to sile

Django bugfix releases: 3.0.5 and 2.2.12.

2020-04-01 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/apr/01/bugfix-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop