Re: Classifieds page loading is to slow

2021-01-14 Thread Benjamin Schollnick
Also don’t forget to include Indexing. As a general rule, any field that you perform any query against, should be indexed. Yes, it costs a “bit” for disk space, but indexing can dramatically increase your query speed. - Benjamin > On Jan 14, 2021, at 10:44 PM, Benny M wrote: >

Re: Getting staticfiles to find subdirectories?

2021-01-14 Thread Mike Dewhirst
On 15/01/2021 3:12 pm, Roy Smith wrote: I'm running django 2.2. My static directory has a subdirectory which I want to deploy, but as far as I can tell, staticfiles only finds files in the top-level static directory. is there any way to make it recurse and find everything below the static di

Getting staticfiles to find subdirectories?

2021-01-14 Thread Roy Smith
I'm running django 2.2. My static directory has a subdirectory which I want to deploy, but as far as I can tell, staticfiles only finds files in the top-level static directory. is there any way to make it recurse and find everything below the static directory, and keep the same directory struc

Re: Classifieds page loading is to slow

2021-01-14 Thread Benny M
Slow loading can be sometimes be caused by non-optimized or overly complex queries. Look into prefetch_related and select_related for starters. https://docs.djangoproject.com/en/3.1/ref/models/querysets/ Django Debug Toolbar is also a great packages for examining the interaction between Django’

Classifieds page loading is to slow

2021-01-14 Thread Salima Begum
Hi all, We are building a Web application, We have a classifieds page that is loading too slow. How to fix this issue. how to reduce loading time of classifieds page. Thanks ~Salima -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscrib

Re: Import Export

2021-01-14 Thread ÖNDER YILMAZ
https://youtu.be/oZQjO0iNOwI 14 Oca 2021 Per 09:14 tarihinde www.forum-gh.com şunu yazdı: > hello, please i have 4 models linked together by foreignkey how do i > perform import using the django import_export package. > > Thanks > > -- > You received this message because you are subscribed to th