Django v4.1 Documentation
首页
白天
夜间
下载
阅读记录
书签管理
我的书签
添加书签
移除书签
编辑文档
Models and databases
来源 1
浏览
196
扫码
打印
2022-08-12 09:37:48
Models and databases
Models
Aggregation
Performing raw SQL queries
Tablespaces
Database instrumentation
上一篇:
下一篇:
发布点评
Django internals
The Django source code repository
Django’s release process
How is Django Formed?
Django’s security policies
Organization of the Django Project
Contributing to Django
Mailing lists
Django Deprecation Timeline
“How-to” guides
How to provide initial data for models
How to implement a custom template backend
How to upgrade Django to a newer version
How to create custom model fields
How to deploy static files
How to use Django’s CSRF protection
How to integrate Django with a legacy database
How to manage static files (e.g. images, JavaScript, CSS/)
How to configure and use logging
How to create custom template tags and filters
How to override templates
How to create PDF files
How to install Django on Windows
How to write a custom storage class
How to create CSV output
How to create custom django-admin commands
How to authenticate using REMOTE_USER
How to manage error reporting
How to deploy Django
Deployment checklist
How to deploy with WSGI
How to use Django with uWSGI
How to authenticate against Django’s user database from Apache
How to use Django with Apache and mod_wsgi
How to use Django with Gunicorn
How to deploy with ASGI
How to use Django with Uvicorn
How to use Django with Daphne
How to use Django with Hypercorn
How to create database migrations
How to write custom lookups
Django FAQ
FAQ: Installation
FAQ: Getting Help
FAQ: Contributing code
Troubleshooting
FAQ: General
FAQ: Using Django
FAQ: Databases and models
FAQ: The admin
API Reference
Built-in class-based views API
Class-based generic views - flattened index
Generic editing views
Base views
Generic display views
Generic date views
Class-based views mixins
Editing mixins
Simple mixins
Single object mixins
Date-based mixins
Multiple object mixins
Migration Operations
django.urls functions for use in URLconfs
Applications
Databases
Django Exceptions
Settings
System check framework
Built-in Views
Middleware
Models
Model index reference
Model Meta options
Conditional Expressions
Model field reference
Constraints reference
Model instance reference
Lookup API reference
Related objects reference
Database Functions
Model class reference
Query Expressions
QuerySet API reference
Model _meta API
Paginator
contrib packages
The syndication feed framework
The redirects app
The flatpages app
GeoDjango
Deploying GeoDjango
Testing GeoDjango apps
Geographic Sitemaps
GEOS API
GDAL API
GeoDjango Tutorial
Geolocation with GeoIP2
GeoDjango Forms API
Geographic Feeds
GeoDjango Model API
GIS QuerySet API Reference
GeoDjango Management Commands
GeoDjango Installation
GeoDjango Database API
Measurement Objects
GeoDjango Utilities
OGR Inspection
LayerMapping data import utility
GeoJSON Serializer
Geographic Database Functions
GeoDjango’s admin site
The messages framework
The Django admin site
Admin actions
The Django admin documentation generator
JavaScript customizations in the admin
ModelAdmin List Filters
django.contrib.postgres
PostgreSQL specific model fields
PostgreSQL specific database constraints
Full text search
PostgreSQL specific aggregation functions
PostgreSQL specific query expressions
PostgreSQL specific model indexes
PostgreSQL specific database functions
PostgreSQL specific lookups
Validators
Database migration operations
PostgreSQL specific form fields and widgets
The contenttypes framework
django.contrib.humanize
The sitemap framework
The staticfiles app
The “sites” framework
django.contrib.auth
Logging
Clickjacking Protection
Signals
Forms
The form rendering API
Widgets
Form fields
Form and field validation
Model Form Functions
The Forms API
Creating forms from models
Formsets
Form Assets (the Media class/)
Formset Functions
Templates
Built-in template tags and filters
The Django template language
The Django template language: for Python programmers
Django Utils
django-admin and manage.py
Validators
django.urls utility functions
Cross Site Request Forgery protection
Request and response objects
SchemaEditor
File handling
Uploaded Files and Upload Handlers
File storage API
The File object
TemplateResponse and SimpleTemplateResponse
Unicode data
Using Django
Internationalization and localization
Working with forms
External packages
Templates
Testing in Django
Writing and running tests
Advanced testing topics
Testing tools
Handling HTTP requests
Middleware
View decorators
File Uploads
Generic views
URL dispatcher
Writing views
How to use sessions
Django shortcut functions
Django settings
Serializing Django objects
System check framework
Signals
How to install Django
Pagination
Class-based views
Introduction to class-based views
Form handling with class-based views
Built-in class-based generic views
Using mixins with class-based views
Security in Django
User authentication in Django
Migrations
Asynchronous support
Logging
Performance and optimization
Conditional View Processing
Cryptographic signing
Sending email
Managing files
Django’s cache framework
Models and databases
Models
Making queries
Tablespaces
Managers
Database access optimization
Aggregation
Examples of model relationship API usage
Many-to-one relationships
Many-to-many relationships
One-to-one relationships
Performing raw SQL queries
Database transactions
Multiple databases
Database instrumentation
Search
Release notes
4.0 release
Django 4.0.3 release notes
Django 4.0.4 release notes
Django 4.0.2 release notes
Django 4.0.5 release notes
Django 4.0.6 release notes
Django 4.0.7 release notes
Django 4.0 release notes
Django 4.0.1 release notes
4.1 release
Django 4.1 release notes
Django 4.1.1 release notes
Getting started
Writing your first Django app, part 6
Writing your first Django app, part 5
What to read next
Quick install guide
Advanced tutorial: How to write reusable apps
Writing your first Django app, part 7
Writing your first Django app, part 3
Writing your first Django app, part 1
Django at a glance
Writing your first Django app, part 4
Writing your first patch for Django
Writing your first Django app, part 2
Meta-documentation and miscellany
Third-party distributions of Django
API stability
Design philosophies
Glossary
暂无相关搜索结果!
本文档使用
全库网
构建
×
思维导图备注
×
文章二维码
手机扫一扫,轻松掌上读
×
文档下载
请下载您需要的格式的文档,随时随地,享受汲取知识的乐趣!
PDF
文档
EPUB
文档
MOBI
文档
×
书签列表
×
阅读记录
阅读进度:
0.00%
(
0/0
)
重置阅读进度