---
title: "How-to guides"
version: 6.0
locale: en
source: https://docs.djangoproject.com/en/6.0/howto/
canonical: https://djangodocs.dev/en/6.0/howto/
---
# How-to guides

Practical guides covering common tasks and problems.

## Models, data and databases

- [How to provide initial data for models](/en/6.0/howto/initial-data/)
- [How to integrate Django with a legacy database](/en/6.0/howto/legacy-databases/)
- [How to create custom model fields](/en/6.0/howto/custom-model-fields/)
- [How to create database migrations](/en/6.0/howto/writing-migrations/)
- [How to write custom lookups](/en/6.0/howto/custom-lookups/)

## Templates and output

- [How to create CSV output](/en/6.0/howto/outputting-csv/)
- [How to create PDF files](/en/6.0/howto/outputting-pdf/)
- [How to override templates](/en/6.0/howto/overriding-templates/)
- [How to implement a custom template backend](/en/6.0/howto/custom-template-backend/)
- [How to create custom template tags and filters](/en/6.0/howto/custom-template-tags/)

## Project configuration and management

- [How to manage static files (e.g. images, JavaScript, CSS)](/en/6.0/howto/static-files/)
- [How to configure and use logging](/en/6.0/howto/logging/)
- [How to manage error reporting](/en/6.0/howto/error-reporting/)
- [How to delete a Django application](/en/6.0/howto/delete-app/)

## Installing, deploying and upgrading

- [How to upgrade Django to a newer version](/en/6.0/howto/upgrade-version/)
- [How to install Django on Windows](/en/6.0/howto/windows/)
- [How to deploy Django](/en/6.0/howto/deployment/)
- [How to deploy static files](/en/6.0/howto/static-files/deployment/)

## Other guides

- [How to authenticate using `REMOTE_USER`](/en/6.0/howto/auth-remote-user/)
- [How to use Django’s Content Security Policy](/en/6.0/howto/csp/)
- [How to use Django’s CSRF protection](/en/6.0/howto/csrf/)
- [How to write a custom storage class](/en/6.0/howto/custom-file-storage/)
- [How to create custom `django-admin` commands](/en/6.0/howto/custom-management-commands/)
- [How to customize the `shell` command](/en/6.0/howto/custom-shell/)

> **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.
