Re: Validation of m2m

2019-02-21 Thread Bernd Wechner
That would be my guess too. So if it went into the Django core at all, it would need to be documented as a Postgresql only thing I guess (if the guess proves right). This might also then figure in the recommendation on databases. Postgresql is already recommended as the production database by D

Re: Validation of m2m

2019-02-21 Thread Chris Foresman
My guess is this does not work on MySQL or SQLite, since as far as I can tell it’s the only DB that will return IDs when bulk inserting. I’d think you’d have to have some other code path to handle those DB backends. -- You received this message because you are subscribed to the Google Groups

Re: Validation of m2m

2019-02-21 Thread Bernd Wechner
That's an idea I like. Though it affects OneToMany relations too (no idea why this is so often presented as an m2m issue, when it's literally a 2m issue. So I'd prefer the attribute to be something like validate_tomany_relations or validate_2m perhaps. The focus on m2m is misleading. Either

Re: Validation of m2m

2019-02-21 Thread Ian Foote
I don't think a new setting is the way to go. I'd prefer to add an attribute (validate_m2m = False?) to the CreateView and UpdateView classes that allows a developer to opt-in to the new behaviour when they need it. This is more flexible and still maintains backwards compatibility. Regards, Ian O

Re: Django 2.2 and the watchman reloader

2019-02-21 Thread Claude Paroz
Le jeudi 21 février 2019 21:43:43 UTC+1, Tom Forbes a écrit : > > Hey Claude, > Thanks for your feedback on the feature, I fully agree with you. I think > we should remove that warning message about the missing package. I will > make a PR to do that. > I'm not completely sure it's a good idea to

Re: Django 2.2 and the watchman reloader

2019-02-21 Thread Tom Forbes
Hey Claude, Thanks for your feedback on the feature, I fully agree with you. I think we should remove that warning message about the missing package. I will make a PR to do that. Regarding creating another reloader: it should not be that difficult to do at all since we have all the other pieces in

Re: Django 2.2 and the watchman reloader

2019-02-21 Thread Claude Paroz
I have a POC patch here: https://github.com/django/django/pull/11014 Claude -- 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 receiving emails from it, send an email

Re: Django 2.2 and the watchman reloader

2019-02-21 Thread Claude Paroz
Le jeudi 21 février 2019 19:48:31 UTC+1, Dan Davis a écrit : > > Claude, > > I've tested a Django based application on 2.2b1 without watchman on > Windows, it does tell you about watchman, but it doesn't fail to run. > Apparently, it falls back to the old way of reloading. Is this not the > b

Re: Django 2.2 and the watchman reloader

2019-02-21 Thread Dan Davis
Claude, I've tested a Django based application on 2.2b1 without watchman on Windows, it does tell you about watchman, but it doesn't fail to run. Apparently, it falls back to the old way of reloading. Is this not the behavior on Debian/Ubuntu? On Thu, Feb 21, 2019 at 12:28 PM Claude Paroz wrot

Django 2.2 and the watchman reloader

2019-02-21 Thread Claude Paroz
Hi, The new watchman-based autoreloader in Django 2.2 is a nice improvement. However, the main issue in my opinion is that there are no Debian/Ubuntu official packaging of watchman to my knowledge. I've been able to compile it without difficulty, but I'm especially concerned about newcomers and

Re: Will Django ever CompositePrimaryKeys?

2019-02-21 Thread Simone Federici
Lance Ellinghaus wrote: > Should I consider his statements to be the final statement from the Django > core developers? > of course not, I'm not a core developer. :-) -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itsel

Re: Password reset emails in combination with click tracking do not work with Intelligent Tracking Prevention on Safari for iOS 12 and macOS Mojave

2019-02-21 Thread Mat Gadd
You can see this in action yourself using Chrome's Dev Tools. Open Dev Tools, then their Settings, and turn on "Auto-open DevTools for popups". Then, click any link in the Gmail web app. You'll see you go via google.com/url?q=original_url_here. Since they're doing this with JavaScript, the links lo

Re: Validation of m2m

2019-02-21 Thread Bernd Wechner
Most once sided discussion I've seen on a developers group in a while ;-), but I'll go so far as to suggest an API for the Django Core on this one. I mean I have a way to advance myself now, but methinks this need is so common that perhaps it's best sitting in the Django Core, albeit with a set

Re: Password reset emails in combination with click tracking do not work with Intelligent Tracking Prevention on Safari for iOS 12 and macOS Mojave

2019-02-21 Thread Mat Gadd
Exactly that, yes. We've disabled all click tracking that we can, but Gmail has its own redirect which causes Safari's privacy features to kick in. (Some?) Gmail users are unable to use the password reset emails. On Thursday, 21 February 2019 01:03:54 UTC, Philip James wrote: > > Mat, are you sa