Django 1.8.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() . . . if you only want the count, rather than doing0 码力 | 1685 页 | 6.01 MB | 1 年前3
Django 1.8.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() …if you only want the count, rather than doing len(queryset)0 码力 | 2454 页 | 2.85 MB | 1 年前3
Django 2.2.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() …if you only want the count, rather than doing len(queryset)0 码力 | 2915 页 | 2.83 MB | 1 年前3
Django 2.1.x Documentationdatabase usage. 3.2. Models and databases 167 Django Documentation, Release 2.1.16.dev20191202082911 Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() . . . if you only want the count, rather than doing0 码力 | 1910 页 | 6.49 MB | 1 年前3
Django 1.11.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() . . . if you only want the count, rather than doing0 码力 | 1878 页 | 6.40 MB | 1 年前3
Django 1.10.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() ...if you only want the count, rather than doing len(queryset)0 码力 | 1817 页 | 6.19 MB | 1 年前3
Django 1.11.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() …if you only want the count, rather than doing len(queryset)0 码力 | 2747 页 | 2.67 MB | 1 年前3
Django 1.10.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() ...if you only want the count, rather than doing len(queryset)0 码力 | 2538 页 | 2.59 MB | 1 年前3
Django 2.1.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing where the balance must lie, and profile all of these as required since this will depend on your application and server. With everything that follows, remember to profile after every change to ensure that text data or for fields that might take a lot of processing to convert back to Python. As always, profile first, then optimize. Use QuerySet.count() …if you only want the count, rather than doing len(queryset)0 码力 | 2790 页 | 2.71 MB | 1 年前3
Django 2.0.x Documentationnumber of headings that outline the steps to take when attempting to optimize your database usage. Profile first As general programming practice, this goes without saying. Find out what queries you are doing Python process. It is up to you to decide what your priorities are, where the balance must lie, and profile all of these as required since this will depend on your application and server. 3.2. Models and Django Documentation, Release 2.0.14.dev20190701080343 With everything that follows, remember to profile after every change to ensure that the change is a benefit, and a big enough benefit given the decrease0 码力 | 1880 页 | 6.41 MB | 1 年前3
共 53 条
- 1
- 2
- 3
- 4
- 5
- 6













