Fellow Reports - May 2021

2021-05-12 Thread Mariusz Felisiak
Week ending May 9, 2021 Released Django 3.2.2, 3.1.10, and 2.2.22. *Triaged:*     https://code.djangoproject.com/ticket/32704 - QuerySet.defer() doesn't clear deferred field when chaining with only(). (accepted)     https://code.djangoproject.com/ticket/32706 - Ambiguity around field choices

Re: Do people actually squash migrations?

2021-05-12 Thread Raffaele Salmaso
On Wed, May 12, 2021 at 2:50 AM 'Mike Lissner' via Django developers (Contributions to Django itself) wrote: > So, my question is: Do people actually use squashmigrations with success? For what is worth: yes. The only problem I have is a pbcak problem (I like to do esoteric things just because).

Re: Do people actually squash migrations?

2021-05-12 Thread Ryan Hiebert
You’d run the migrations that you manually created with --fake. My experience also corroborates the idea that squashmigrations may be unsuitable for many situation that are similar to mine, where I am able to fully control the full set of places that the code is deployed. Ryan > On May 12, 202

Re: Do people actually squash migrations?

2021-05-12 Thread 'Mike Lissner' via Django developers (Contributions to Django itself)
Oh, I guess there's also a step in the manual process to reset the migrations table in the DB, but I don't know how to do that. Tricky stuff! On Wednesday, May 12, 2021 at 9:37:53 AM UTC-7 Mike Lissner wrote: > So sort of sounds like an update to the squash migration docs is needed if > this i

Re: Do people actually squash migrations?

2021-05-12 Thread 'Mike Lissner' via Django developers (Contributions to Django itself)
So sort of sounds like an update to the squash migration docs is needed if this is representative of the general sentiment. Looking at the section on this , the general outline is: 1. Overview 2. How it works 3. Th

Re: Update returning

2021-05-12 Thread Tom Carrick
Apologies, I had totally forgotten about this, but I'm still interested in working on it, but still not sure about a few things. I've been thinking about the return value a bit. I can foresee cases where you wouldn't want the id returned. You might want the user to update something by slug, usern

Re: Hi i'm new on python and django!

2021-05-12 Thread Carlton Gibson
Hi Juan. The #123 will refer to a ticket number on the Django Trac issue tracker instance. So that would be: https://code.djangoproject.com/ticket/123 (which was a while back…) Have a browse around there and get comfortable. Filtering by component is a useful way to break it down. Here’s a filt