Re: A faster paginator for django

2018-12-15 Thread Kye Russell
It might also be worth looking at the alternative pagination methods offered by Django REST Framework as a source of inspiration. On Wednesday, December 5, 2018 at 8:15:22 PM UTC+8, Saleem Jaffer wrote: > > Hi all, > > The default paginator that comes with Django is inefficient when dealing >

Re: A Django Async Roadmap

2018-12-15 Thread James Addison
If you're following that 'medium' article, then you'll see it uses https://github.com/jneight/django-db-geventpool, which has instructions for using `psycogreen` with gunicorn... I believe what it states is correct. On Thursday, December 13, 2018 at 3:21:32 AM UTC, Ray Marceau wrote: > > James

Re: Widening participation (Thoughts from DjangoCon)

2018-12-15 Thread Claude Paroz
Le jeudi 13 décembre 2018 09:17:49 UTC+1, Carlton Gibson a écrit : > > ... > I'd like to push on these avenues (and similar) before we take on the > massive project of changing systems. > (Ultimately I think we'd change system and find ourselves in exactly the > same boat.) > Thanks Carlton,

Re: Database connection retry

2018-12-15 Thread Carlton Gibson
Hi Jamesie. Two things stick out from the thread: Aymeric: might be more user-friendly, which is a goal. (If not too complex...) Tim: can you show us a patch to see what it would look like. Fancy putting together a POC? C. On Saturday, 15 December 2018 08:52:15 UTC+1, Jamesie Pic wrote: >

Re: Database connection retry

2018-12-15 Thread Jamesie Pic
Nope, uwsgi in docker... -- 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 to django-developers+unsubscr...@googlegroups.com.

Re: Database connection retry

2018-12-15 Thread ludovic coues
Are you using runserver in production ? On Sat, Dec 15, 2018, 08:52 Jamesie Pic Hi all, > > Sorry to bump this, but I didn't find another thread, and I'm pretty sure > re-trying the database connection is the sane thing to do. > > Otherwise, Django will remain in failed state after reboot in