Re: The behavior of QueryDict.get(_key_, _default=None_)

2018-07-18 Thread Carlton Gibson
Hi Philip. This is unlikely(!!!) to be changed. As it says on the ticket, it's considered a feature, not a bug. The usual case is to need a single value from the query string, so `[]` and `get()` both return scalars. `getList()` exists specifically for the case where you do want multiple va

Re: The behavior of QueryDict.get(_key_, _default=None_)

2018-07-18 Thread ludovic coues
This will probably breaking compatibility with previous version of Django, breaking a lot of website in subtle way. Printing a debug message in the log when calling QueryDict.get on key being present more than once sound more reasonable. That should be doable as an third party app but that wouldn'

The behavior of QueryDict.get(_key_, _default=None_)

2018-07-18 Thread Philip Lee
I was trapped by the behavior of `QueryDict.get(_key_, _default=None_)` for a bit while before consulting the documentation , for that *If the key has more than one value, it returns the last value.* So as for multiple values for the same key, is returning the last value of key more often expe

Django 2.1 release candidate 1 released

2018-07-18 Thread Tim Graham
We've made the final (hopefully) release on the way to Django's next major release, Django 2.1! Check out the blog post: https://www.djangoproject.com/weblog/2018/jul/18/django-21-rc1/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions