Re: Lack of tutorials and explanations about channels

2022-01-24 Thread Steve Smith
I am a huge fan of Django. But I will agree that the documentation is most areas beyond the absolute basics is abysmal. I have a lot written in Django in Class Based Views because I read early on they were the way to go. I'm not going to tell you how much research and time it took me but it w

Re: Formsets

2022-02-06 Thread Steve Smith
HI Steve! Thanks for the reply. I have tried select related and prefetch relatedbut didn't know about deferwill look into...my current formset scenario is 440ish queries and it takes about 19 seconds to load. Some have suggested Celery and RabbitMQ and other alternatives which I'm not

Formsets?!?!?!?!?!?!?!?!?!?

2022-02-11 Thread Steve Smith
Hello all I have formsets workingbut I seem to be encountering some performance issues if I have more than 25 rows. I've looked at my database callsselect_related...prefetch_related...and I've polled several audiences...SOFacebook Groupsand the consensus seems to be that F

RE: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
If in fact I am….how do I avoid this? I have been playing with alternatives for a week and I’m starting to lose it…lol Sent from Mail for Windows From: Jacob Greene Sent: Friday, February 25, 2022 5:58 PM To: djan

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-25 Thread Steve Smith
options depending on your use case: https://stackoverflow.com/questions/8176200/caching-queryset-choices-for-modelchoicefield-or-modelmultiplechoicefield-in-a-d Hard to be more specific without knowing anything about your code. On Fri, Feb 25, 2022, 8:53 PM Steve Smith mailto:stevesmith0...@hotmail

Re: How to create dynamic models in django??

2022-02-27 Thread Steve Smith
My two cents. I've been trying to do a very similar thing...I've accomplished it in Djangousing FormsetsIt was painfulthe documentation on Formsets is scarce in my opinion and to get them to work is a lot of trial and error, not to mention complexity with corresponding Javascript.

Re: migrations problem in django

2022-06-02 Thread Steve Smith
Looks like a spelling error at first glancemax_length...not max_lenght That's my first guess... From: django-users@googlegroups.com on behalf of Paras Kashyap Sent: Wednesday, June 1, 2022 12:00 PM To: Django users Subject: migrations problem in django Typ

Hosting Recommendations?

2024-12-04 Thread Steve Smith
Hello all! I'm getting ready to put my project out into the world. I'm researching hosting options.and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yetbut any recommendations on if this is a solid option or if there are others out there worth c