Django 4.2.x Documentation
Database access optimization Database instrumentation Fixtures Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Asynchronous class-based views Migrations The Commands tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3305 页 | 3.16 MB | 1 年前3Django 4.1.x Documentation
Tablespaces Database access optimization Database instrumentation Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Asynchronous class-based views Migrations The Commands tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3240 页 | 3.13 MB | 1 年前3Django 2.2.x Documentation
Tablespaces Database access optimization Database instrumentation Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut views Form handling with class-based views Using mixins with class-based views Basic examples Simple usage in your URLconf Subclassing generic views Migrations The Commands Backend Support Workflow Dependencies tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 2915 页 | 2.83 MB | 1 年前3Django 4.0.x Documentation
Tablespaces Database access optimization Database instrumentation Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Migrations The Commands Backend Support Workflow Transactions tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3184 页 | 3.14 MB | 1 年前3Django 5.1 Documentation
Database access optimization Database instrumentation Fixtures Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Asynchronous class-based views Migrations The Commands tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3513 页 | 3.17 MB | 1 年前3Django 5.1.2 Documentation
Database access optimization Database instrumentation Fixtures Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Asynchronous class-based views Migrations The Commands tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3519 页 | 3.17 MB | 1 年前3Django 4.0.x Documentation
similar to mod_perl – it embeds Python within Apache and loads Python code into memory when the server starts. Code stays in memory throughout the life of an Apache process, which leads to significant performance .queryset_only = False from_queryset() classmethod from_queryset(queryset_class) For advanced usage you might want both a custom Manager and a custom QuerySet. You can do that by calling Manager.from_queryset() names, which means you end up with a list of values, rather than a dict. At a small performance and memory cost, you can return results as a dict by using something like this: def dictfetchall(cursor):0 码力 | 2248 页 | 7.90 MB | 1 年前3Django 5.0.x Documentation
Database access optimization Database instrumentation Fixtures Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Asynchronous class-based views Migrations The Commands tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3407 页 | 3.21 MB | 1 年前3Django 3.2.x Documentation
Tablespaces Database access optimization Database instrumentation Examples of model relationship API usage Handling HTTP requests URL dispatcher Writing views View decorators File Uploads Django shortcut generic views Form handling with class-based views Using mixins with class-based views Basic examples Usage in your URLconf Subclassing generic views Migrations The Commands Backend Support Workflow Transactions tests Testing tools Advanced testing topics User authentication in Django Overview Installation Usage Django’s cache framework Setting up the cache The per-site cache The per-view cache Template fragment0 码力 | 3121 页 | 3.08 MB | 1 年前3Django 5.1.2 Documentation
similar to mod_perl –it embeds Python within Apache and loads Python code into memory when the server starts. Code stays in memory throughout the life of an Apache process, which leads to significant performance .queryset_only = False from_queryset() classmethod from_queryset(queryset_class) For advanced usage you might want both a custom Manager and a custom QuerySet. You can do that by calling Manager.from_queryset() names, which means you end up with a list of values, rather than a dict. At a small performance and memory cost, you can return results as a dict by using something like this: def dictfetchall(cursor):0 码力 | 2923 页 | 9.62 MB | 1 年前3
共 92 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10