Django 文档目录¶
- 新手入门
- 初探 Django
- 快速安装指南
- 编写你的第一个 Django 程序 第1部分
- 编写你的第一个 Django 程序 第2部分
- 编写你的第一个 Django 程序 第3部分
- 编写你的第一个 Django 程序 第4部分
- 编写你的第一个 Django 程序 第5部分
- 进阶教程:如何编写可重用的应用程序
- 下一步阅读什么
- 为Django编写属于你的首个补丁
- Introduction
- Installing Git
- Getting a copy of Django’s development version
- Rolling back to a previous revision of Django
- Running Django’s test suite for the first time
- Writing some tests for your ticket
- Writing the code for your ticket
- Running Django’s test suite for the second time
- Writing Documentation
- Generating a patch for your changes
- So what do I do next?
- 使用 Django
- 如何安装 Django
- Models and databases
- Handling HTTP requests
- Working with forms
- The Django template language
- Class-based views
- Managing files
- Testing in Django
- User authentication in Django
- Django’s cache framework
- Conditional View Processing
- Cryptographic signing
- Sending email
- Internationalization and localization
- Logging
- Pagination
- Porting to Python 3
- Security in Django
- Serializing Django objects
- Django settings
- Signals
- “How-to” guides
- Authentication using REMOTE_USER
- Writing custom django-admin commands
- Writing custom model fields
- Custom template tags and filters
- Writing a custom storage system
- Deploying Django
- Error reporting
- Providing initial data for models
- Running Django on Jython
- Integrating Django with a legacy database
- Outputting CSV with Django
- Outputting PDFs with Django
- Managing static files
- Django FAQ
- FAQ: General
- Why does this project exist?
- What does “Django” mean, and how do you pronounce it?
- Is Django stable?
- Does Django scale?
- Who’s behind this?
- Which sites use Django?
- Django appears to be a MVC framework, but you call the Controller the “view”, and the View the “template”. How come you don’t use the standard names?
- <Framework X> does <feature Y> – why doesn’t Django?
- Why did you write all of Django from scratch, instead of using other Python libraries?
- Is Django a content-management-system (CMS)?
- How can I download the Django documentation to read it offline?
- Where can I find Django developers for hire?
- FAQ: Installation
- How do I get started?
- What are Django’s prerequisites?
- Do I lose anything by using Python 2.6 versus newer Python versions, such as Python 2.7?
- What Python version can I use with Django?
- Can I use Django with Python 3?
- Will Django run under shared hosting (like TextDrive or Dreamhost)?
- Should I use the stable version or development version?
- FAQ: Using Django
- FAQ: Getting Help
- FAQ: Databases and models
- How can I see the raw SQL queries Django is running?
- Can I use Django with a pre-existing database?
- If I make changes to a model, how do I update the database?
- Do Django models support multiple-column primary keys?
- How do I add database-specific options to my CREATE TABLE statements, such as specifying MyISAM as the table type?
- Why is Django leaking memory?
- FAQ: The admin
- I can’t log in. When I enter a valid username and password, it just brings up the login page again, with no error messages.
- I can’t log in. When I enter a valid username and password, it brings up the login page again, with a “Please enter a correct username and password” error.
- How can I prevent the cache middleware from caching the admin site?
- How do I automatically set a field’s value to the user who last edited the object in the admin?
- How do I limit admin access so that objects can only be edited by the users who created them?
- My admin-site CSS and images showed up fine using the development server, but they’re not displaying when using mod_wsgi.
- My “list_filter” contains a ManyToManyField, but the filter doesn’t display.
- Some objects aren’t appearing in the admin.
- How can I customize the functionality of the admin interface?
- The dynamically-generated admin site is ugly! How can I change it?
- What browsers are supported for using the admin?
- FAQ: Contributing code
- Troubleshooting
- FAQ: General
- API 参考
- Class-based views
- Clickjacking Protection
- contrib packages
- The Django admin site
- django.contrib.auth
- User
- Anonymous users
- Permission
- Group
- Login and logout signals
- Authentication backends
- Django’s comments framework
- The contenttypes framework
- Cross Site Request Forgery protection
- Databrowse
- The flatpages app
- django.contrib.formtools
- GeoDjango
- django.contrib.humanize
- The “local flavor” add-ons
- django.contrib.markup
- The messages framework
- The redirects app
- The sitemap framework
- The “sites” framework
- The staticfiles app
- The syndication feed framework
- django.contrib.webdesign
- admin
- auth
- comments
- contenttypes
- csrf
- flatpages
- formtools
- gis
- humanize
- localflavor
- markup
- messages
- redirects
- sessions
- sites
- sitemaps
- syndication
- webdesign
- Other add-ons
- Databases
- django-admin.py and manage.py
- Running management commands from your code
- Django 异常
- File handling
- Forms
- Middleware
- Models
- Request and response objects
- TemplateResponse and SimpleTemplateResponse
- Settings
- Signals
- Templates
- Unicode data
- django.core.urlresolvers utility functions
- django.conf.urls utility functions
- Django Utils
- django.utils.cache
- django.utils.datastructures
- django.utils.dateparse
- django.utils.decorators
- django.utils.encoding
- django.utils.feedgenerator
- django.utils.functional
- django.utils.html
- django.utils.http
- django.utils.safestring
- django.utils.text
- django.utils.translation
- django.utils.timezone
- django.utils.tzinfo
- Validators
- Meta-documentation and miscellany
- Glossary
- Release notes
- Final releases
- Development releases
- Django 1.5 beta release notes
- Django 1.5 alpha release notes
- Django 1.4 beta release notes
- Django 1.4 alpha release notes
- Django 1.3 beta 1 release notes
- Django 1.3 alpha 1 release notes
- Django 1.2 RC 1 release notes
- Django 1.2 beta 1 release notes
- Django 1.2 alpha 1 release notes
- Django 1.1 RC 1 release notes
- Django 1.1 beta 1 release notes
- Django 1.1 alpha 1 release notes
- Django 1.0 beta 2 release notes
- Django 1.0 beta 1 release notes
- Django 1.0 alpha 2 release notes
- Django 1.0 alpha release notes
- Django internals