Re: Async Caching

2020-09-27 Thread Andrew Godwin
So the debate between async_foo and foo_async has not really happened yet; I'm really split on the choice. As you say, async_foo allows you to get to the async versions quicker, but foo_async allows you to start your typing with the operation you're doing and then select the variant. I think

Re: Async Caching

2020-09-27 Thread Andrew Wang
Cool, thanks for the clarification. One thing I noticed while programming the test cases (so WIP is here: https://github.com/Andrew-Chen-Wang/django-async-redis) is that it's not really fun having to type out get_async since autocomplete. If a dev knows that they'll be using an await, then I

Re: Found a bug related with admin panel, m2m-field and model save() method

2020-09-27 Thread Fran Hrženjak
I believe the behaviour you're seeing is due to the fact that the admin view first has to save the instance of the model being edited, and only then can it save the related objects and relationships. So it is a two-step thing:

Re: Allow disabling choices in a

2020-09-27 Thread Sebastian Van Den Noortgaete
@tony thanks this realy helped me! On Tuesday, 1 May 2018 at 01:33:19 UTC+2 tony...@gmail.com wrote: > This might be a late answer but this is a simplified version that can be > modified using the form instance. > > You can either pass a list of values to be disabled i.e > > def __init__(self,

Found a bug related with admin panel, m2m-field and model save() method

2020-09-27 Thread Антон Игин
Methods associated with m2m (clear, set) fields do not work in the save () method of the model using from the admin panel. The error did not occur when instantiation or update was initiated from other sources (wrapper, control command api) Details (test project with instructions to

Re: Fellow Reports -- September 2020

2020-09-27 Thread Carlton Gibson
Hi all. Calendar Week 39 -- ending 27 September. Triaged: https://code.djangoproject.com/ticket/32040 -- django.test encoding does not match utf-8 (needsinfo) https://code.djangoproject.com/ticket/32036 -- stack overflow on admin save (invalid) https://code.djangoproject.com/ticket/32035

Django freelancing WhatsApp group

2020-09-27 Thread Divyesh Khamele
Hello all hope you are interested in joining:- https://chat.whatsapp.com/FxBXbilF9vj3UJDIRaPSCP Django Freelancing group. Thanks On Tue, 11 Aug 2020, 22:32 Desh Deepak, wrote: > Hello everyone, I want to developing a django project. Who wants to > collaborate to do a project and learn django

Re: Async Caching

2020-09-27 Thread Adam Johnson
> > I'm slightly confused by what you mean (and what the dep means). I understand the DEP as saying that we'll implement the async methods in the BaseCache class as backing onto the sync versions: class BaseCache async def get_async(...): return await