Re: Proposal for better managed raw SQL migrations

2020-03-24 Thread schinckel
On Wednesday, March 25, 2020 at 1:45:48 AM UTC+10:30, Petr Přikryl wrote: > > Hi Adam, > thank you for your reply. > > We usually have few indices, functions and triggers. But the most used > database object is view. We used them for data synchronizing from some > third party databases. These d

Re: Discuss ticket 20264: URLValidator should allow underscores in local hostname

2020-03-24 Thread Pavel Savchenko
Hey folks, Sorry for not providing a more specific scenario before, was short on time and just wanted to kick this off. The most common scenario that I can think of (and the one that most similar to our usage) would be a *form field* on a Django site, that allows users to input a URL which is

Re: Proposal for better managed raw SQL migrations

2020-03-24 Thread Petr Přikryl
Hi Adam, thank you for your reply. We usually have few indices, functions and triggers. But the most used database object is view. We used them for data synchronizing from some third party databases. These databases have complex schema which we want simplify. So we are building low-level DB API

Re: Discuss ticket 20264: URLValidator should allow underscores in local hostname

2020-03-24 Thread '1337 Shadow Hacker' via Django developers (Contributions to Django itself)
> when there are many sites in the wild that use underscore in their domain > name. Can you share some examples please ? In general, we should abide by standards unless we have a really good reason. In my experience I always had to replace underscores by dashes for a reason or another in hostn

Re: Discuss ticket 20264: URLValidator should allow underscores in local hostname

2020-03-24 Thread Adam Johnson
Hi Pavel The ticket ( https://code.djangoproject.com/ticket/20264 ) doesn't mention any specific use cases, and nor have you. What has this behaviour blocked for you? Thanks, Adam On Tue, 24 Mar 2020 at 12:46, Pavel Savchenko wrote: > Hi Folks, > > I've just encountered this issue, and it see

Discuss ticket 20264: URLValidator should allow underscores in local hostname

2020-03-24 Thread Pavel Savchenko
Hi Folks, I've just encountered this issue, and it seems Django's URLValidator regex for host is trying to abide to RFC 1034 recommendation , when there are many sites in the wild that use underscore in their domain name. Can we please discuss