Django 5.1 Documentationhandling Models Templates Files Form submission django.urls utility functions reverse() reverse_lazy() resolve() get_script_prefix() django.urls functions for use in URLconfs path() re_path() include() has the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters0 码力 | 3513 页 | 3.17 MB | 1 年前3
 Django 5.1.2 Documentationhandling Models Templates Files Form submission django.urls utility functions reverse() reverse_lazy() resolve() get_script_prefix() django.urls functions for use in URLconfs path() re_path() include() has the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters0 码力 | 3519 页 | 3.17 MB | 1 年前3
 Django 5.0.x Documentationhandling Models Templates Files Form submission django.urls utility functions reverse() reverse_lazy() resolve() get_script_prefix() django.urls functions for use in URLconfs path() re_path() include() has the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters0 码力 | 3407 页 | 3.21 MB | 1 年前3
 django cms 3.3.x Documentationthe more experienced developer, covering several important topics. Key topics Explanation and analysis of some key concepts in django CMS. Reference Technical reference material, for classes, methods import CMSApp from cms.apphook_pool import apphook_pool from django.utils.translation import ugettext_lazy as _ class PollsApphook(CMSApp): app_name = "polls" name = _("Polls Application") def Polls/CMS Integration application. Here’s a basic example: from django.utils.translation import ugettext_lazy as _ from cms.toolbar_pool import toolbar_pool from cms.toolbar_base import CMSToolbar from cms.utils0 码力 | 386 页 | 1.56 MB | 1 年前3
 django cms 3.4.x Documentationthe more experienced developer, covering several important topics. Key topics Explanation and analysis of some key concepts in django CMS. Reference Technical reference material, for classes, methods import CMSApp from cms.apphook_pool import apphook_pool from django.utils.translation import ugettext_lazy as _ @apphook_pool.register # register the application class PollsApphook(CMSApp): app_name Polls/CMS Integration application. Here’s a basic example: from django.utils.translation import ugettext_lazy as _ from cms.toolbar_pool import toolbar_pool from cms.toolbar_base import CMSToolbar from cms.utils0 码力 | 395 页 | 1.64 MB | 1 年前3
 django cms 3.5.x Documentationthe more experienced developer, covering several important topics. Key topics Explanation and analysis of some key concepts in django CMS. Reference Technical reference material, for classes, methods import CMSApp from cms.apphook_pool import apphook_pool from django.utils.translation import ugettext_lazy as _ @apphook_pool.register # register the application class PollsApphook(CMSApp): app_name Polls/CMS Integration application. Here’s a basic example: from django.utils.translation import ugettext_lazy as _ from cms.toolbar_pool import toolbar_pool from cms.toolbar_base import CMSToolbar from cms.utils0 码力 | 403 页 | 1.69 MB | 1 年前3
 Django 1.11.x Documentationdatabase API Templates Files Email Form submission django.urls utility functions reverse() reverse_lazy() resolve() get_script_prefix() django.conf.urls utility functions static() url() include() handler400 has the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters0 码力 | 2747 页 | 2.67 MB | 1 年前3
 Django 1.11.x Documentationhas the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also: The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters QuerySet evaluation To avoid performance problems, it is important to understand: • that QuerySets are lazy. • when they are evaluated. • how the data is held in memory. 3.2. Models and databases 167 Django0 码力 | 1878 页 | 6.40 MB | 1 年前3
 Django 2.0.x DocumentationThe database API Templates Files Form submission django.urls utility functions reverse() reverse_lazy() resolve() get_script_prefix() django.urls functions for use in URLconfs path() re_path() include() has the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also The Models Reference Covers all the model related APIs including model future. The initial QuerySet (q1) is unaffected by the refinement process. QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters0 码力 | 2746 页 | 2.67 MB | 1 年前3
 Django 2.0.x Documentationhas the advantages of not cluttering the namespace, making code more readable, and keeping code analysis tools useful. See also: The Models Reference Covers all the model related APIs including model and databases 107 Django Documentation, Release 2.0.14.dev20190701080343 QuerySets are lazy QuerySets are lazy – the act of creating a QuerySet doesn’t involve any database activity. You can stack filters QuerySet evaluation To avoid performance problems, it is important to understand: • that QuerySets are lazy. • when they are evaluated. • how the data is held in memory. Understand cached attributes As0 码力 | 1880 页 | 6.41 MB | 1 年前3
共 53 条
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 













