{"title":"FAQ: インストール","version":"1.9","locale":"ja","docname":"faq/install","url":"/ja/1.9/faq/install/","canonical":"https://djangodocs.dev/ja/1.9/faq/install/","summary":"まずは何をすればよいですか？ Link to this heading # コードをダウンロード Download the code してください。 Django をインストールしてください ( インストールガイド を読みましょう)。 チュートリアル を一通りやってみてください。 他の ドキュメント…","html":"<h1>FAQ: インストール<a class=\"heading-anchor\" href=\"#faq-installation\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<section id=\"how-do-i-get-started\">\n<h2>まずは何をすればよいですか？<a class=\"heading-anchor\" href=\"#how-do-i-get-started\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<ol class=\"arabic simple\">\n<li><p>コードをダウンロード <a class=\"reference external\" href=\"https://www.djangoproject.com/download/\">Download the code</a> してください。</p></li>\n<li><p>Django をインストールしてください ( <a class=\"reference internal\" href=\"/ja/1.9/intro/install/\"><span class=\"doc\">インストールガイド</span></a> を読みましょう)。</p></li>\n<li><p><a class=\"reference internal\" href=\"/ja/1.9/intro/tutorial01/\"><span class=\"doc\">チュートリアル</span></a> を一通りやってみてください。</p></li>\n<li><p>他の  <a class=\"reference internal\" href=\"/ja/1.9/\"><span class=\"doc\">ドキュメント</span></a> にも目を通して下さい。何か問題が起きたら、 質問 <a class=\"reference external\" href=\"https://www.djangoproject.com/community/\">ask questions</a> してみましょう。</p></li>\n</ol>\n</section>\n<section id=\"what-are-django-s-prerequisites\">\n<h2>Django を動かすには何が必要ですか？<a class=\"heading-anchor\" href=\"#what-are-django-s-prerequisites\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Django requires Python. See the table in the next question for the versions of\nPython that work with each version of Django. Other Python libraries may be\nrequired for some uses, but you'll receive an error about it as they're needed.</p>\n<p>開発環境を使う場合、つまり Django を試したいだけの場合は、 Web サーバを別に インストールしておく必要はありません。 Django には簡単な開発用サーバが付属 しています。 Django は WSGI 仕様 <span class=\"target\" id=\"index-2\"></span><a class=\"pep reference external\" href=\"https://peps.python.org/pep-3333/\"><strong>PEP 3333</strong></a> に準拠しています。 従って、様々なサーバプラットフォームで運用環境を構築できます。 いくつか選択肢を紹介しているので、 <a class=\"reference internal\" href=\"/ja/1.9/howto/deployment/\"><span class=\"doc\">Django のデプロイ方法</span></a> を参照してください。</p>\n<p>Django をデータベースと合わせて使うならデータベースエンジンも必要です。 我々は <a class=\"reference external\" href=\"http://www.postgresql.org/\">PostgreSQL</a> ファンなので PostgreSQL をお勧めしますが、 <a class=\"reference external\" href=\"https://www.mysql.com/\">MySQL</a> や <a class=\"reference external\" href=\"https://www.sqlite.org/\">SQLite 3</a>, <a class=\"reference external\" href=\"http://www.oracle.com/\">Oracle</a> もサポートしています。</p>\n</section>\n<section id=\"what-python-version-can-i-use-with-django\">\n<span id=\"faq-python-version-support\"></span><h2>どのバージョンの Python でどのバージョンの Django が使えますか?<a class=\"heading-anchor\" href=\"#what-python-version-can-i-use-with-django\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<div class=\"table-scroll\" role=\"region\" tabindex=\"0\" aria-label=\"Table\"><table class=\"docutils align-default\">\n<thead>\n<tr class=\"row-odd\"><th class=\"head\"><p>Django バージョン</p></th>\n<th class=\"head\"><p>Python バージョン</p></th>\n</tr>\n</thead>\n<tbody>\n<tr class=\"row-even\"><td><p>1.8</p></td>\n<td><p>2.7, 3.2 (2016年末まで ), 3.3, 3.4, 3.5</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p><strong>1.9, 1.10</strong></p></td>\n<td><p><strong>2.7, 3.4, 3.5</strong></p></td>\n</tr>\n</tbody>\n</table>\n</div>\n<p>For each version of Python, only the latest micro release (A.B.C) is officially\nsupported. You can find the latest micro version for each series on the <a class=\"reference external\" href=\"https://www.python.org/downloads/\">Python\ndownload page</a>.</p>\n<p>Typically, we will support a Python version up to and including the first\nDjango LTS release whose security support ends after security support for that\nversion of Python ends. For example, Python 3.3 security support ends September\n2017 and Django 1.8 LTS security support ends April 2018. Therefore Django 1.8\nis the last version to support Python 3.3.</p>\n</section>\n<section id=\"what-python-version-should-i-use-with-django\">\n<h2>What Python version should I use with Django?<a class=\"heading-anchor\" href=\"#what-python-version-should-i-use-with-django\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>As of Django 1.6, Python 3 support is considered stable and you can safely use\nit in production. See also <a class=\"reference internal\" href=\"/ja/1.9/topics/python3/\"><span class=\"doc\">Porting to Python 3</span></a>. However, the community is\nstill in the process of migrating third-party packages and applications to\nPython 3.</p>\n<p>If you're starting a new project, and the dependencies you plan to use work on\nPython 3, you should use Python 3. If they don't, consider contributing to the\nporting efforts, or stick to Python 2.</p>\n<p>Since newer versions of Python are often faster, have more features, and are\nbetter supported, all else being equal, we recommend that you use the latest\n2.x.y or 3.x.y release.</p>\n<p>You don't lose anything in Django by using an older release, but you don't take\nadvantage of the improvements and optimizations in newer Python releases.\nThird-party applications for use with Django are, of course, free to set their\nown version requirements.</p>\n</section>\n<section id=\"should-i-use-the-stable-version-or-development-version\">\n<h2>安定版と開発版のどちらを使うべきなのでしょうか？<a class=\"heading-anchor\" href=\"#should-i-use-the-stable-version-or-development-version\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>一般的に、もしあなたがコードを製品で使っているのなら、安定版を使うべきで しょう。 Django はおよそ 9 ヶ月ごとに、バグフィックスを含めた安定版をリリースしています。これらの安定版は後方互換を保証した API も提供していますので、もし次の新しい安定版では使用できないコードを書いていても、アップグレードにおいて問題は無いはずです。</p>\n</section>","rootId":"faq-installation","toc":[{"title":"まずは何をすればよいですか？","anchor":"how-do-i-get-started","children":[]},{"title":"Django を動かすには何が必要ですか？","anchor":"what-are-django-s-prerequisites","children":[]},{"title":"どのバージョンの Python でどのバージョンの Django が使えますか?","anchor":"what-python-version-can-i-use-with-django","children":[]},{"title":"What Python version should I use with Django?","anchor":"what-python-version-should-i-use-with-django","children":[]},{"title":"安定版と開発版のどちらを使うべきなのでしょうか？","anchor":"should-i-use-the-stable-version-or-development-version","children":[]}],"breadcrumbs":[{"docname":"faq/index","title":"Django FAQ よくある質問","url":"/ja/1.9/faq/"}],"prev":{"docname":"faq/general","title":"FAQ: 一般的な質問","url":"/ja/1.9/faq/general/"},"next":{"docname":"faq/usage","title":"FAQ: Django を使う","url":"/ja/1.9/faq/usage/"},"formats":{"html":"/ja/1.9/faq/install/","markdown":"/ja/1.9/faq/install.md","json":"/ja/1.9/faq/install.json"},"source":"https://github.com/django/django/blob/stable/1.9.x/docs/faq/install.txt","official":"https://docs.djangoproject.com/ja/1.9/faq/install/","inVersions":["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"],"inLocales":["en","fr","ja","id","pt-br","es"]}