{"title":"FAQ: Installazione","version":"6.1","locale":"it","docname":"faq/install","url":"/it/6.1/faq/install/","canonical":"https://djangodocs.dev/it/6.1/faq/install/","summary":"Come posso iniziare? Link to this heading # Scarica il codice . Installa Django (leggi guida all’installazione ). Consulta il tutorial . Se hai un problema,…","html":"<h1>FAQ: Installazione<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>Come posso iniziare?<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/\">Scarica il codice</a>.</p></li>\n<li><p>Installa Django (leggi <a class=\"reference internal\" href=\"/it/6.1/intro/install/\"><span class=\"doc\">guida all’installazione</span></a>).</p></li>\n<li><p>Consulta il <a class=\"reference internal\" href=\"/it/6.1/intro/tutorial01/\"><span class=\"doc\">tutorial</span></a>.</p></li>\n<li><p>Se hai un problema, controlla il resto della <a class=\"reference internal\" href=\"/it/6.1/\"><span class=\"doc\">documentation</span></a>, e  <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>Quali sono i prerequisiti di 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 richiede Python. Leggi la tabella nella prossima domanda per le versioni di Python supportate per ogni versione di Django. Altre librerie Python potrebbero essere richieste per alcuni casi d’uso, ma riceverai un errore a riguardo se sono necessarie.</p>\n<p>Per un ambiente di sviluppo – se vuoi solo fare esperimenti con Django – non hai bisogno di avere installato un server web o un database separati.</p>\n<p>Django comes with its own lightweight development server\n(<a class=\"reference internal\" href=\"/it/6.1/ref/django-admin/#django-admin-runserver\"><code class=\"xref std std-djadmin docutils literal notranslate\"><span class=\"pre\">runserver</span></code></a>). For a production environment, Django follows the WSGI\nspec, <span class=\"target\" id=\"index-0\"></span><a class=\"pep reference external\" href=\"https://peps.python.org/pep-3333/\"><strong>PEP 3333</strong></a>, which means it can run on a variety of web servers. See\n<a class=\"reference internal\" href=\"/it/6.1/howto/deployment/\"><span class=\"doc\">Come distribuire Django</span></a> for more information.</p>\n<p>Django esegue di default <a class=\"reference external\" href=\"https://www.sqlite.org/\">SQLite</a> , che è incluso nelle installazioni di Python. Per un ambiente di produzione, consigliamo <a class=\"reference external\" href=\"https://www.postgresql.org/\">PostgreSQL</a>; ma supportiamo ufficialmente anche <a class=\"reference external\" href=\"https://mariadb.org/\">MariaDB</a>, <a class=\"reference external\" href=\"https://www.mysql.com/\">MySQL</a>, <a class=\"reference external\" href=\"https://www.sqlite.org/\">SQLite</a> e <a class=\"reference external\" href=\"https://www.oracle.com/\">Oracle</a>. Vedere :doc: Database supportati &lt;/ref/databases&gt; per maggiori informazioni.</p>\n</section>\n<section id=\"what-python-version-can-i-use-with-django\">\n<span id=\"faq-python-version-support\"></span><h2>Che versione di Python posso usare con 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>Versione di Django</p></th>\n<th class=\"head\"><p>Versioni di Python</p></th>\n</tr>\n</thead>\n<tbody>\n<tr class=\"row-even\"><td><p>4.2</p></td>\n<td><p>3.8, 3.9, 3.10, 3.11, 3.12 (added in 4.2.8)</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p>5.0</p></td>\n<td><p>3.10, 3.11, 3.12</p></td>\n</tr>\n<tr class=\"row-even\"><td><p>5.1</p></td>\n<td><p>3.10, 3.11, 3.12, 3.13 (added in 5.1.3)</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p>5.2</p></td>\n<td><p>3.10, 3.11, 3.12, 3.13, 3.14 (added in 5.2.8)</p></td>\n</tr>\n<tr class=\"row-even\"><td><p>6.0</p></td>\n<td><p>3.12, 3.13, 3.14</p></td>\n</tr>\n<tr class=\"row-odd\"><td><p>6.1</p></td>\n<td><p>3.12, 3.13, 3.14</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. Python versions that have reached end-of-life are no longer\nmaintained by the Python project and therefore should not be used with Django.</p>\n<p>You can find the latest supported micro version for each series on the <a class=\"reference external\" href=\"https://www.python.org/downloads/\">Python\ndownload page</a>.</p>\n<p>We will support a Python version up to and including the first Django LTS\nrelease whose security support ends after security support for that version of\nPython ends. For example, Python 3.9 security support ends in October 2025 and\nDjango 4.2 LTS security support ends in April 2026. Therefore Django 4.2 is the\nlast version to support Python 3.9.</p>\n</section>\n<section id=\"what-python-version-should-i-use-with-django\">\n<h2>Quale versione di Python dovrei usare con 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>A partire dalle ultime versioni di Python sono solitamente più veloci, hanno più features, e sono meglio sopportate, quindi l’ultima versione di Python 3 è raccomandata</p>\n<p>Non si perde nulla in Django utilizzando una versione precedente, ma non si trae vantaggio dai miglioramenti e dalle ottimizzazioni nelle versioni più recenti di Python. Le applicazioni di terze parti da utilizzare con Django sono libere di impostare i propri requisiti di versione.</p>\n</section>\n<section id=\"should-i-use-the-stable-version-or-development-version\">\n<h2>Devo usare una versione stabile, o di sviluppo?<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>Generally, if you’re using code in production, you should be using a\nstable release. The Django project publishes a full stable release\nevery eight months or so, with bugfix updates in between. These stable\nreleases contain the API that is covered by our backwards\ncompatibility guarantees; if you write code against stable releases,\nyou shouldn’t have any problems upgrading when the next official\nversion is released.</p>\n</section>","rootId":"faq-installation","toc":[{"title":"Come posso iniziare?","anchor":"how-do-i-get-started","children":[]},{"title":"Quali sono i prerequisiti di Django?","anchor":"what-are-django-s-prerequisites","children":[]},{"title":"Che versione di Python posso usare con Django?","anchor":"what-python-version-can-i-use-with-django","children":[]},{"title":"Quale versione di Python dovrei usare con Django?","anchor":"what-python-version-should-i-use-with-django","children":[]},{"title":"Devo usare una versione stabile, o di sviluppo?","anchor":"should-i-use-the-stable-version-or-development-version","children":[]}],"breadcrumbs":[{"docname":"faq/index","title":"Django FAQ","url":"/it/6.1/faq/"}],"prev":{"docname":"faq/general","title":"FAQ: Generale","url":"/it/6.1/faq/general/"},"next":{"docname":"faq/usage","title":"FAQ: Utilizzare Django","url":"/it/6.1/faq/usage/"},"formats":{"html":"/it/6.1/faq/install/","markdown":"/it/6.1/faq/install.md","json":"/it/6.1/faq/install.json"},"source":"https://github.com/django/django/blob/stable/6.1.x/docs/faq/install.txt","official":"https://docs.djangoproject.com/it/6.1/faq/install/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}