{"title":"“How-to” guides","version":"4.1","locale":"en","docname":"howto/index","url":"/en/4.1/howto/","canonical":"https://djangodocs.dev/en/4.1/howto/","summary":"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…","html":"<h1>“How-to” guides<a class=\"heading-anchor\" href=\"#how-to-guides\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>Here you’ll find short answers to “How do I….?” types of questions. These\nhow-to guides don’t cover topics in depth – you’ll find that material in the\n<a class=\"reference internal\" href=\"/en/4.1/topics/\"><span class=\"doc\">Using Django</span></a> and the <a class=\"reference internal\" href=\"/en/4.1/ref/\"><span class=\"doc\">API Reference</span></a>. However, these guides will help\nyou quickly accomplish common tasks.</p>\n<div class=\"toctree-wrapper compound\">\n<ul>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/auth-remote-user/\">How to authenticate using <code class=\"docutils literal notranslate\"><span class=\"pre\">REMOTE_USER</span></code></a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/csrf/\">How to use Django’s CSRF protection</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-management-commands/\">How to create custom <code class=\"docutils literal notranslate\"><span class=\"pre\">django-admin</span></code> commands</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-model-fields/\">How to create custom model fields</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-lookups/\">How to write custom lookups</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-template-backend/\">How to implement a custom template backend</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-template-tags/\">How to create custom template tags and filters</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/custom-file-storage/\">How to write a custom storage class</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/deployment/\">How to deploy Django</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/upgrade-version/\">How to upgrade Django to a newer version</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/error-reporting/\">How to manage error reporting</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/initial-data/\">How to provide initial data for models</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/legacy-databases/\">How to integrate Django with a legacy database</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/logging/\">How to configure and use logging</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/outputting-csv/\">How to create CSV output</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/outputting-pdf/\">How to create PDF files</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/overriding-templates/\">How to override templates</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/static-files/\">How to manage static files (e.g. images, JavaScript, CSS)</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/static-files/deployment/\">How to deploy static files</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/windows/\">How to install Django on Windows</a></li>\n<li class=\"toctree-l1\"><a class=\"reference internal\" href=\"/en/4.1/howto/writing-migrations/\">How to create database migrations</a></li>\n</ul>\n</div>\n<aside class=\"admonition admonition-seealso\">\n<p class=\"admonition-title\">See also</p>\n<p>The <a class=\"reference external\" href=\"https://www.djangoproject.com/community/\">Django community aggregator</a>, where we aggregate content from the\nglobal Django community. Many writers in the aggregator write this sort of\nhow-to material.</p>\n</aside>","rootId":"how-to-guides","toc":[],"breadcrumbs":[],"prev":{"docname":"topics/async","title":"Asynchronous support","url":"/en/4.1/topics/async/"},"next":{"docname":"howto/auth-remote-user","title":"How to authenticate using REMOTE_USER","url":"/en/4.1/howto/auth-remote-user/"},"formats":{"html":"/en/4.1/howto/","markdown":"/en/4.1/howto.md","json":"/en/4.1/howto.json"},"source":"https://github.com/django/django/blob/stable/4.1.x/docs/howto/index.txt","official":"https://docs.djangoproject.com/en/4.1/howto/","inVersions":["dev","6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9","1.8"],"inLocales":["en","zh-hans","fr","ja","id","it","pt-br","ko","es","el","pl"]}