Re: Adding a decorator to include a property in an object's serialization

2021-06-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi Diptesh Django's serialization framework is mostly used for saving model data for later loading into the DB - normally for setting up environments or tests. I don't think saving properties is useful in this case. If you're using serialization for API responses, look at Django REST Framework's s

Re: Discussion regarding #32628 and #32823

2021-06-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Sébastien - on your original post: you didn't provide any useful title or ticket links in your post. That may have stopped readers engaging on the list. No one knows ticket numbers, but some people will be interested when they see a post on "the admin autocomplete". Links would make it easy to catc

Re: Django website Down

2021-06-08 Thread Roger Gammans
It may have had something to do with this? I seem to remember fastly did offer some OSS projects some CDN services. https://www.bbc.co.uk/news/technology-57399628 On Tue, 2021-06-08 at 14:17 +0100, Wadinga Leonard Ngonga wrote: > It’s up, I can access it from my location(Buea, Cameroon). Try wit

Re: Django website Down

2021-06-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Yes we use fastly and that's the reason it has been down. On Tue, 8 Jun 2021 at 14:38, Roger Gammans wrote: > It may have had something to do with this? I seem to remember fastly > did offer some OSS projects some CDN services. > > https://www.bbc.co.uk/news/technology-57399628 > > > On Tue, 202

Re: Django website Down

2021-06-08 Thread danushka padrushka
Hi Wadinga Leonard, I checked from different networks, it wasn’t working in the morning at least where I live (Montréal). After like 30 min I noticed it was working fine ☺️ Dan Sent from my iPhone > On Jun 8, 2021, at 9:39 AM, Roger Gammans wrote: > > It may have had something to do with t

Re: Discussion regarding #32628 and #32823

2021-06-08 Thread Contributions to Django itself
Thanks a lot for the kind answers. *But perhaps the default copy-paste messages the fellows use could have a little more empathy towards those who are unfamiliar. The majority of Trac users are only around for one ticket, or a few.* I agree with you Adam, my emotional perception of the messages

Re: Discussion regarding #32628 and #32823

2021-06-08 Thread Mariusz Felisiak
> Additionally, I do not see how this would add complexity to the code and/or the API. The API would remain strictly the same ( $.fn.djangoAdminSelect2(options)) and the code itself needs only an additional ~5 lines. The number of lines is not the most important factor. There is no point in add

Fellow Reports - June 2021

2021-06-08 Thread Mariusz Felisiak
Week ending June 6, 2021 Participated in the *DjangoCon Europe* conference. *Triaged:*     https://code.djangoproject.com/ticket/32800 - CsrfViewMiddleware unnecessarily masks CSRF cookie (accepted)     https://code.djangoproject.com/ticket/32804 - Add 'link' attribute to admin display functio

Re: Django website Down

2021-06-08 Thread Tobias McNulty
Here's the incident report from Fastly: https://status.fastly.com/incidents/vpk0ssybt3bj *Tobias McNulty*Chief Executive Officer tob...@caktusgroup.com www.caktusgroup.com On Tue, Jun 8, 2021 at 9:58 AM danushka padrushka wrote: > Hi Wadinga Leonard, > > I checked from different networks, it

Fellow Reports -- June 2021

2021-06-08 Thread Carlton Gibson
Hi all, Calendar Week 22 -- ending 06 June. Mostly at/doing DjangoCon Europe Released Django 3.2.4, 3.1.12, and 2.2.24. Triaged: https://code.djangoproject.com/ticket/32790 -- Django test client redirecting to URLs without a trailing slash redirects instead to the current view (Accepte

Re: Discussion regarding #32628 and #32823

2021-06-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
> > I'd be happy to suggest longer versions (if technically possible to > implement). > At least the documentation for triaging tickets is here: https://github.com/django/django/blob/main/docs/internals/contributing/triaging-tickets.txt . I do not understand why the $.fn.djangoAdminSelect2 funct

Re: Discussion regarding #32628 and #32823

2021-06-08 Thread Contributions to Django itself
> *The number of lines is not the most important factor. There is no point in adding a new feature without tests and docs, because without them we will add a feature only for a single user, i.e. for the reporter. Also, we cannot add features just because they are not complex ("death by a thousan