---
title: "'How-to' guides"
version: 2.1
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/2.1/howto/
canonical: https://djangodocs.dev/zh-hans/2.1/howto/
---
# "How-to" guides

Here you'll find short answers to "How do I....?" types of questions. These
how-to guides don't cover topics in depth -- you'll find that material in the
[Using Django](/zh-hans/2.1/topics/) and the [API Reference](/zh-hans/2.1/ref/). However, these guides will help
you quickly accomplish common tasks.

- [使用 `REMOTE_USER` 进行身份验证](/zh-hans/2.1/howto/auth-remote-user/)
- [编写自定义 `django-admin` 的命令](/zh-hans/2.1/howto/custom-management-commands/)
- [编写自定义 model fields](/zh-hans/2.1/howto/custom-model-fields/)
- [自定义查找](/zh-hans/2.1/howto/custom-lookups/)
- [自定义模板（template）的标签（tags）和过滤器（filters）](/zh-hans/2.1/howto/custom-template-tags/)
- [编写一个自定义存储系统](/zh-hans/2.1/howto/custom-file-storage/)
- [部署Django](/zh-hans/2.1/howto/deployment/)
- [升级 Django 到最新的版本](/zh-hans/2.1/howto/upgrade-version/)
- [发送错误](/zh-hans/2.1/howto/error-reporting/)
- [为模型提供初始化的数据](/zh-hans/2.1/howto/initial-data/)
- [基于 Jython 的 Django](/zh-hans/2.1/howto/jython/)
- [Integrating Django with a legacy database](/zh-hans/2.1/howto/legacy-databases/)
- [Outputting CSV with Django](/zh-hans/2.1/howto/outputting-csv/)
- [Outputting PDFs with Django](/zh-hans/2.1/howto/outputting-pdf/)
- [Overriding templates](/zh-hans/2.1/howto/overriding-templates/)
- [Managing static files (e.g. images, JavaScript, CSS)](/zh-hans/2.1/howto/static-files/)
- [Deploying static files](/zh-hans/2.1/howto/static-files/deployment/)
- [如何在Windows上安装Django](/zh-hans/2.1/howto/windows/)
- [Writing database migrations](/zh-hans/2.1/howto/writing-migrations/)

> **See also**
>
> The [Django community aggregator](https://www.djangoproject.com/community/), where we aggregate content from the
> global Django community. Many writers in the aggregator write this sort of
> how-to material.
