Issue with multiple database backends

2021-04-14 Thread Javier Buzzi
I have a model with a really long name think `ThisIsAReallyLongModelNameThatIsAlsoVeryOld`. To complicate things further I have a Oracle instance without archival data designated connection name `old` and a new postgres instance with the connection name `default`. Issue i've found is that if i

Re: Issue with multiple database backends

2021-04-14 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi This seems like a genuine bug, Django should not assume that all backends have the same max table name length. Please file a ticket. You can workaround this right now by defining db_table on your model. You might need two model classes, sharing details via inheritance, for the different backen

Re: Issue with multiple database backends

2021-04-14 Thread Shai Berger
Hi, On Wed, 14 Apr 2021 12:10:56 +0100 "'Adam Johnson' via Django developers (Contributions to Django itself)" wrote: > Hi > > This seems like a genuine bug, Django should not assume that all > backends have the same max table name length. Please file a ticket. > Right, but it may be a simpl

Re: Issue with multiple database backends

2021-04-14 Thread Javier Buzzi
Ticket created https://code.djangoproject.com/ticket/32653#ticket Thank you On Wednesday, April 14, 2021 at 7:35:22 AM UTC-4 Shai Berger wrote: > Hi, > > On Wed, 14 Apr 2021 12:10:56 +0100 > "'Adam Johnson' via Django developers (Contributions to Django > itself)" wrote: > > > Hi > > > > This s

Re: "Unify by values" setting in Oracle's base.py

2021-04-14 Thread NPB
Hi - Here is something I tried out: https://github.com/nigelbayliss/django I am no Python expert, and having never done this before I'm not sure if it would be worthy of a pull request. Let me know. I added a test to *compiler.py *to detect GROUP BYs with a combined expression. This test is

Re: Question: django.contrib.gis GDAL support of /vsi*

2021-04-14 Thread Jordi Castells
Hi Claude, Today I contacted Daniel and commented a bit with him. I opened a PR to discuss/review. Thanks for your help and directions. Salut! El dia dimecres, 14 d’abril de 2021 a les 8:39:50 UTC+2, Claude Paroz va escriure: > Hi Jordi, > > Our GDAL Raster expert is Daniel Wiesmann (https:/

Django Debug Toolbar security releases issued: 3.2.1, 2.2.1 and 1.11.1.

2021-04-14 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2021/apr/14/debug-toolbar-security-releases/ -- You received this message because you are subscribed to the Google Group

Re: GSOC Proposal : A new AUTH library.

2021-04-14 Thread Curtis Maloney
Just throwing another idea into the pile whilst we're here. For a long time I've felt we could more easily support a lot more use cases if we separated Authentication from Authorization. The simplest path for this would be to separate credentials (username, password) from the User record. This