Re: Best way to optimize API requests calls from over 10,000 users simultaneously

2021-06-21 Thread Alejandro Garrido Gongora
For big problems the answer is in 99% of cases split the problem, maybe your problem is your architecture, also you will need cache, also Async, maybe you need to en queue some routines maybe you need more hardware, maybe you need to optimize your data structures, maybe the join of all those so

Re: Is Django limited by Python's GIL? If not, are there any benchmarks for multiple connections?

2020-05-26 Thread Alejandro Garrido Gongora
No problem :). El mar., 26 may. 2020 a las 15:13, navinipe () escribió: > This is very helpful. Thanks Alejandro! > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an

Re: Is Django limited by Python's GIL? If not, are there any benchmarks for multiple connections?

2020-05-26 Thread Alejandro Garrido Gongora
https://medium.com/@KonopkaKodes/an-introduction-to-asynchronous-programming-in-python-6809a4385f69 https://docs.djangoproject.com/en/3.0/topics/async/ https://blog.disqus.com/scaling-django-to-8-billion-page-views https://attentionshard.wordpress.com/2011/04/26/scaling-django-to-3-requests-p

Re: How to convert files from .bin to .png with Python or Django

2019-07-05 Thread Fernando Garrido Villalobos
Aldian F. The .bin files have content of data in binary format that was copied from a disk to this output file El miércoles, 3 de julio de 2019, 18:52:35 (UTC-5), Fernando Garrido Villalobos escribió: > > How to create a function that have like argument the path of a .bin file > an

How to convert files from .bin to .png with Python or Django

2019-07-03 Thread Fernando Garrido Villalobos
How to create a function that have like argument the path of a .bin file and returns a .png file ... I need your help, thank you so much. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Mostrar datos en un formulario (inputs) en un template.

2019-04-25 Thread Manuel Alejandro Garrido Gongora
Si estas usando ajax lo que puedes hacer es instalarte django rest framework o crearte una vista que cuando sea get te retorne los datos de la db y cuando sea post los actualice y puedes llamarla desde ajax una primera vez cuando se ejecuta el formulario para rellenarlo y luego cada vez que se h

Re: Looking for an experienced Django full stack developer

2019-02-26 Thread Manuel Alejandro Garrido Gongora
Hi, I'm interested can you tell me more? thanks! El mar., 26 feb. 2019 a las 11:02, Giorgio M. () escribió: > We are looking to expand our team with an experienced Python / Django > developer, with the ability to work vertically from the model creation to > the frontend (on a bootstrap template a

Re: note matching query does not exist.

2018-09-13 Thread Manuel Alejandro Garrido Gongora
It is likely because you are getting a directly on an object that probably does not exist in the database, I recommend that you use it instead of get filter (). first () or the method get_object_or_404 from django Regards Enviado desde mi iPhone > El 12 sept 2018, a las 19:43, Gear Crew > esc

Re: Whitespaces in URLs

2008-04-08 Thread garrido
Thank you Alex, that's what I needed On Apr 7, 7:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Slugs,http://www.djangoproject.com/documentation/model-api/#slugfield > > On Apr 7, 5:29 pm, garrido <[EMAIL PROTECTED]> wrote: > > > Hi e

Whitespaces in URLs

2008-04-07 Thread garrido
Hi everyone, Forgive me if this is a stupid question, but here goes: I have started my first Django project, and in it I have an object called "Categories" defined in my models. In my urls.py, I have a rule that matches http://mysite.com/category/, and everything up to here is fine. However, ca