mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	Refs #32880 -- Made some titles consistent in how-to documents.
This retitles documents for consistency, since some already (correctly) begin "How to...".
This commit is contained in:
		| @@ -1,6 +1,6 @@ | ||||
| ==================================== | ||||
| Authentication using ``REMOTE_USER`` | ||||
| ==================================== | ||||
| ========================================= | ||||
| How to authenticate using ``REMOTE_USER`` | ||||
| ========================================= | ||||
|  | ||||
| This document describes how to make use of external authentication sources | ||||
| (where the Web server sets the ``REMOTE_USER`` environment variable) in your | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =============================== | ||||
| Writing a custom storage system | ||||
| =============================== | ||||
| =================================== | ||||
| How to write a custom storage class | ||||
| =================================== | ||||
|  | ||||
| .. currentmodule:: django.core.files.storage | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ============== | ||||
| Custom Lookups | ||||
| ============== | ||||
| =========================== | ||||
| How to write custom lookups | ||||
| =========================== | ||||
|  | ||||
| .. currentmodule:: django.db.models | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ======================================== | ||||
| Writing custom ``django-admin`` commands | ||||
| ======================================== | ||||
| ============================================== | ||||
| How to create custom ``django-admin`` commands | ||||
| ============================================== | ||||
|  | ||||
| .. module:: django.core.management | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =========================== | ||||
| Writing custom model fields | ||||
| =========================== | ||||
| ================================= | ||||
| How to create custom model fields | ||||
| ================================= | ||||
|  | ||||
| .. currentmodule:: django.db.models | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ======================= | ||||
| Custom template backend | ||||
| ======================= | ||||
| ========================================== | ||||
| How to implement a custom template backend | ||||
| ========================================== | ||||
|  | ||||
| Custom backends | ||||
| --------------- | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ================================ | ||||
| Custom template tags and filters | ||||
| ================================ | ||||
| ============================================== | ||||
| How to create custom template tags and filters | ||||
| ============================================== | ||||
|  | ||||
| Django's template language comes with a wide variety of :doc:`built-in | ||||
| tags and filters </ref/templates/builtins>` designed to address the | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =============== | ||||
| Error reporting | ||||
| =============== | ||||
| ============================= | ||||
| How to manage error reporting | ||||
| ============================= | ||||
|  | ||||
| When you're running a public site you should always turn off the | ||||
| :setting:`DEBUG` setting. That will make your server run much faster, and will | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ================================= | ||||
| Providing initial data for models | ||||
| ================================= | ||||
| ====================================== | ||||
| How to provide initial data for models | ||||
| ====================================== | ||||
|  | ||||
| It's sometimes useful to pre-populate your database with hard-coded data when | ||||
| you're first setting up an app. You can provide initial data with migrations or | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ========================================= | ||||
| Integrating Django with a legacy database | ||||
| ========================================= | ||||
| ============================================== | ||||
| How to integrate Django with a legacy database | ||||
| ============================================== | ||||
|  | ||||
| While Django is best suited for developing new applications, it's quite | ||||
| possible to integrate it into legacy databases. Django includes a couple of | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ========================== | ||||
| Outputting CSV with Django | ||||
| ========================== | ||||
| ======================== | ||||
| How to create CSV output | ||||
| ======================== | ||||
|  | ||||
| This document explains how to output CSV (Comma Separated Values) dynamically | ||||
| using Django views. To do this, you can either use the Python CSV library or the | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =========================== | ||||
| Outputting PDFs with Django | ||||
| =========================== | ||||
| ======================= | ||||
| How to create PDF files | ||||
| ======================= | ||||
|  | ||||
| This document explains how to output PDF files dynamically using Django views. | ||||
| This is made possible by the excellent, open-source ReportLab_ Python PDF | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| ==================== | ||||
| Overriding templates | ||||
| ==================== | ||||
| ========================= | ||||
| How to override templates | ||||
| ========================= | ||||
|  | ||||
| In your project, you might want to override a template in another Django | ||||
| application, whether it be a third-party application or a contrib application | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =================================== | ||||
| Upgrading Django to a newer version | ||||
| =================================== | ||||
| ======================================== | ||||
| How to upgrade Django to a newer version | ||||
| ======================================== | ||||
|  | ||||
| While it can be a complex process at times, upgrading to the latest Django | ||||
| version has several benefits: | ||||
|   | ||||
| @@ -1,6 +1,6 @@ | ||||
| =========================== | ||||
| Writing database migrations | ||||
| =========================== | ||||
| ================================= | ||||
| How to create database migrations | ||||
| ================================= | ||||
|  | ||||
| This document explains how to structure and write database migrations for | ||||
| different scenarios you might encounter. For introductory material on | ||||
|   | ||||
		Reference in New Issue
	
	Block a user