Changing the order of SQL generation

2021-07-27 Thread Matthew Schinckel
Greetings, For a couple of things I’ve been working on, I wound up hitting exactly the same problem with respect to SQL generation. It seems that the `FROM` clauses are generated after the SELECT, but before WHERE. This means that any .as_sql() code that is run only on things that appear in a

FIleField(null=True) (Was: Guardrails around lack of model validation on blank=True fields)

2021-07-27 Thread Raffaele Salmaso
Hi all, related to these tickets I want to remind this old ticket https://code.djangoproject.com/ticket/10244 which needs a decision. Thanks! On Sun, Jul 25, 2021 at 3:12 PM Jacob Walls wrote: > Hi group, > > We have several accepted tickets regarding developer headaches when a > blank=True fie

RSS access to Google groups?

2021-07-27 Thread Claude Paroz
Hi, It looks like from several days now, access to Google groups by RSS feeds is producing an error. E.g. https://groups.google.com/forum/feed/django-developers/msgs/rss.xml?num=50 Does anyone know if this means that Google stopped supporting reading groups by RSS? Claude -- You received th

Re: Guardrails around lack of model validation on blank=True fields

2021-07-27 Thread Carlton Gibson
OK, super. Would you then fancy looking at that docs change? It does come up. It _is_ surprising that `blank` has this effect, and I'm not convinced it says clearly anywhere how you should approach it… Thanks for your efforts digging into this! 👍 C. On Tuesday, 27 July 2021 at 14:22:50 UTC+2

Re: Guardrails around lack of model validation on blank=True fields

2021-07-27 Thread Jacob Walls
This makes good sense, Carlton, and I didn't mean to be rushing your reply! "That way lies madness" is entirely correct. Just wanted to map the terrain after I had so confidently commented on one Trac ticket about wontfix-ing it, since on it there were various opinions about possible courses of

Re: Fellow Reports - July 2021

2021-07-27 Thread Mariusz Felisiak
Week ending July 25, 2021 *Triaged: * https://code.djangoproject.com/ticket/32942 - Confirm support for PostGIS 3.1 (accepted) https://code.djangoproject.com/ticket/32943 - Add support for covering indexes and exclusion constraints for SP-GiST in PostgreSQL 14+. (someday/maybe) https

Re: Guardrails around lack of model validation on blank=True fields

2021-07-27 Thread Carlton Gibson
Hi Jacob. Thanks for the follow-up. Good hustle! 😉 I saw your comments on Trac last week, and was preparing a response. The trouble with these 8, 7, and 5 year old tickets is that they're tricky… Let me put the take-home first, I think that in-themselves we should close all three of these t