{"id":14286,"date":"2022-08-18T11:46:00","date_gmt":"2022-08-18T10:46:00","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=14286"},"modified":"2022-08-18T11:46:02","modified_gmt":"2022-08-18T10:46:02","slug":"how-to-deploy-python-django-application","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/","title":{"rendered":"Know How to Deploy Python Django Application?"},"content":{"rendered":"\n<p>Django is a very powerful web framework that lets you to deploy the Python websites or application. Django makes the process of web development easy, and lets you focus on writing the code.<\/p>\n\n\n\n<p>In this guide, you\u2019ll learn how to deploy Python Django web application.<\/p>\n\n\n\n<p>So, lets begin!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating a New Project<\/h2>\n\n\n\n<p>First, to create a new project, we will use the <code><strong><em>startproject<\/em><\/strong><\/code> command to create a new project called, <strong><em>djangoproject<\/em>. <\/strong>Make sure to include the period (.) at the end of the command so that it\u2019s installed in the current directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">(.venv) &gt; django-admin startproject django_project .<\/pre>\n\n\n\n<p>Initially, the<strong><em> .venv <\/em><\/strong>directory may not be visible, because its hidden, however its still there.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u251c\u2500\u2500 django_project\n\u2502   \u251c\u2500\u2500 __init__.py\n|   \u251c\u2500\u2500 asgi.py\n\u2502   \u251c\u2500\u2500 settings.py\n\u2502   \u251c\u2500\u2500 urls.py\n\u2502   \u2514\u2500\u2500 wsgi.py\n\u251c\u2500\u2500 manage.py\n\u2514\u2500\u2500 .venv\/\n<\/pre>\n\n\n\n<p>The <strong><em>.venv <\/em><\/strong>directory was first created with the virtual environment but Django has added a <strong><em>django_project<\/em><\/strong> directory and a <strong><em>manage.py<\/em><\/strong> file. Inside the <strong><em>django_project <\/em><\/strong>there are five new files.<\/p>\n\n\n\n<p><strong>__init__.py : <\/strong>Shows that the files in folder are a part of the Python package. If you don\u2019t have these file, you cannot import the files from another directory.<\/p>\n\n\n\n<p>a<strong>sgi.py<\/strong>: ASGI stands for Asynchronous Server Gateway Interface . It is a specification for building asynchronous web services with&nbsp;<em><strong>Python<\/strong><\/em>.<\/p>\n\n\n\n<p><strong>settings.py<\/strong> : Controls the overall settings of Django project<\/p>\n\n\n\n<p><strong>urls.py<\/strong>: It tells Django which web pages to build in response to URL or browser request<\/p>\n\n\n\n<p><strong>wsgi.py<\/strong>: Stands for Web Server Gateway Interface. It\u2019s basically helps Django to serve the web pages.<\/p>\n\n\n\n<p>The manage.py file is not a part of django_project, but is used for executing different commands like running the local web server or creating a new application.<\/p>\n\n\n\n<p>Let us now create a new project by using Django\u2019s lightweight web server. We will use the command <strong><em>runserver<\/em><\/strong> that\u2019s located in <strong><em>manage.py.<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Windows\n(.venv) &gt; python manage.py runserver\n\n# macOS\n(.venv) % python3 manage.py runserver\n<\/pre>\n\n\n\n<p>Then, you will get to see the successful installation of Python Django application.<\/p>\n\n\n\n<p>Make a note that the command line output has the additional information that includes the warning about 18 unapplied migrations.<\/p>\n\n\n\n<p>These warnings are very irritating, but we can remove the warning by initially stopping the local server with the command <strong><em>Control+c <\/em><\/strong>and then running the command <strong><em>python manage.py migrate.<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Windows\n&gt; python manage.py migrate\n\n# macOS\n% python3 manage.py migrate\n\t\t\nOperations to perform:\n  Apply all migrations: admin, auth, contenttypes, sessions\nRunning migrations:\n  Applying contenttypes.0001_initial... OK\n  Applying auth.0001_initial... OK\n  Applying admin.0001_initial... OK\n  Applying admin.0002_logentry_remove_auto_add... OK\n  Applying admin.0003_logentry_add_action_flag_choices... OK\n  Applying contenttypes.0002_remove_content_type_name... OK\n  Applying auth.0002_alter_permission_name_max_length... OK\n  Applying auth.0003_alter_user_email_max_length... OK\n  Applying auth.0004_alter_user_username_opts... OK\n  Applying auth.0005_alter_user_last_login_null... OK\n  Applying auth.0006_require_contenttypes_0002... OK\n  Applying auth.0007_alter_validators_add_error_messages... OK\n  Applying auth.0008_alter_user_username_max_length... OK\n  Applying auth.0009_alter_user_last_name_max_length... OK\n  Applying auth.0010_alter_group_name_max_length... OK\n  Applying auth.0011_update_proxy_permissions... OK\n  Applying auth.0012_alter_user_first_name_max_length... OK\n  Applying sessions.0001_initial... OK<\/pre>\n\n\n\n<p>Here Django has created a SQLite database and migrated its built-in apps that are provided to us. It is shown by the new file <strong><em>db.sqlite3 <\/em><\/strong>directly.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u251c\u2500\u2500 django_project\n\u2502   \u251c\u2500\u2500 __init__.py\n|   \u251c\u2500\u2500 asgi.py\n\u2502   \u251c\u2500\u2500 settings.py\n\u2502   \u251c\u2500\u2500 urls.py\n\u2502   \u2514\u2500\u2500 wsgi.py\n\u251c\u2500\u2500 db.sqlite3  # new\n\u251c\u2500\u2500 manage.py\n\u2514\u2500\u2500 .venv\/\n<\/pre>\n\n\n\n<p>Now, if you want to execute <strong><em>python.manage.py runserver<\/em><\/strong>, again you will not get to see any type of warnings.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Creating an Application<\/h2>\n\n\n\n<p>Django basically uses the concept of apps and projects to keep the entire code clean and readable code. A single top-level Django web project has different applications. To take an example of an eCommerce website, it has one app for user authentication, other app for payments, and so on.<\/p>\n\n\n\n<p>All of these applications live within one-top level project. <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># Windows\n(.venv) &gt; python manage.py startapp pages\n\n# macOS\n(.venv) % python3 manage.py startapp pages\n<\/pre>\n\n\n\n<p>The <strong><em>helloworld <\/em><\/strong>directory Django has created within it a new <strong><em>pages<\/em><\/strong> directory that includes the below files:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">\u251c\u2500\u2500 pages\n\u2502   \u251c\u2500\u2500 __init__.py\n\u2502   \u251c\u2500\u2500 admin.py\n\u2502   \u251c\u2500\u2500 apps.py\n\u2502   \u251c\u2500\u2500 migrations\n\u2502   \u2502   \u2514\u2500\u2500 __init__.py\n\u2502   \u251c\u2500\u2500 models.py\n\u2502   \u251c\u2500\u2500 tests.py\n\u2502   \u2514\u2500\u2500 views.py\n\n<\/pre>\n\n\n\n<p>Here we\u2019ll get to know what every new <strong><em>pages <\/em><\/strong>app files does.<\/p>\n\n\n\n<p><strong>admin.py:<\/strong> Configuration file for the built-in Django Admin app<\/p>\n\n\n\n<p><strong>apps.py:<\/strong> A configuration file for the application<\/p>\n\n\n\n<p><strong>migrations:<\/strong> To keep track of changes to the <strong><em>model.py<\/em><\/strong> file so that it stays in sync with the database<\/p>\n\n\n\n<p><strong>tests.py: <\/strong>Is for performing the specific tests<\/p>\n\n\n\n<p><strong>views.py: <\/strong>That lets you handle the request\/response logic for the web application<\/p>\n\n\n\n<p>Make sure, even if the new application exists within the Django web project, Django doesn\u2019t know it unless we add it to the <strong><em>django_project\/settings.py<\/em><\/strong> file.<\/p>\n\n\n\n<p>In your text editor, first open the file up and scroll down to <strong><em>INSTALLD_APPS<\/em><\/strong> where you\u2019ll get to see the built-in Django applications available there.<\/p>\n\n\n\n<p>Then, you need to add the <strong><em>pages.apps.PagesConfig<\/em><\/strong> right at the bottom.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># django_project\/settings.py\nINSTALLED_APPS = [\n    \"django.contrib.admin\",\n    \"django.contrib.auth\",\n    \"django.contrib.contenttypes\",\n    \"django.contrib.sessions\",\n    \"django.contrib.messages\",\n    \"django.contrib.staticfiles\",\n    \"pages.apps.PagesConfig\",  # new\n]\n<\/pre>\n\n\n\n<p>If firstly, you have Black installed in your text editor on \u201csave\u201d, it will change all the single quotes (\u2018\u2019) to double quotes (\u201c\u201d). <\/p>\n\n\n\n<p>PageConfig here is the name of the solitary function within the pages\/apps.py file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># pages\/apps.py\nfrom django.apps import AppConfig\n\n\nclass PagesConfig(AppConfig):\n    default_auto_field = \"django.db.models.BigAutoField\"\n    name = \"pages\"\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Hello World<\/h2>\n\n\n\n<p>In Django, there are four separate files which align with the MVT pattern required to power single dynamic webpage as follows:<\/p>\n\n\n\n<p><strong><em>models.py<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>views.py<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>template.html<\/em><\/strong><\/p>\n\n\n\n<p><strong><em>urls.py<\/em><\/strong><\/p>\n\n\n\n<p>Now, in the next step, you first have to create the first view. Start with updating the <strong><em>views.py<\/em><\/strong> files in the <strong><em>page<\/em><\/strong> application as given below:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># pages\/views.py\nfrom django.http import HttpResponse\n\n\ndef homePageView(request):\n    return HttpResponse(\"Hello, World!\")\n<\/pre>\n\n\n\n<p>Whenever the <strong><em>homePageview<\/em><\/strong> function is called, then return to the text \u201cHello World\u201d! <\/p>\n\n\n\n<p>Here, we have created a function called <strong><em>homePageView <\/em><\/strong>that accepts the request object and in return gets a response with the string<strong><em> \u201cHello World\u201d<\/em><\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Configuring URLs<\/h2>\n\n\n\n<p>The URLs needs to be configured. Thus, in your text editor, first create a new file, called as <strong><em>url.py <\/em><\/strong>within the <strong><em>pages<\/em><\/strong> app. Then, you need to update it with the below code:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># pages\/urls.py\nfrom django.urls import path\nfrom .views import homePageView\n\nurlpatterns = [\n    path(\"\", homePageView, name=\"home\"),\n]\n<\/pre>\n\n\n\n<p>Now the last step is to update the <code><strong><em>django_project\/urls.py<\/em><\/strong><\/code>&nbsp; file. Its quite common to have several apps within a single Django project like, <strong><em>pages <\/em><\/strong>here, and each of them need their dedicated URL path.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"># django_project\/urls.py\nfrom django.contrib import admin\nfrom django.urls import path, include  # new\n\nurlpatterns = [\n    path(\"admin\/\", admin.site.urls),\n    path(\"\", include(\"pages.urls\")),  # new\n]\n<\/pre>\n\n\n\n<p>First, we have imported the <strong><em>include <\/em><\/strong>on the second line next to <strong><em>path <\/em><\/strong>and then created a new URL for our <strong><em>pages<\/em><\/strong> app. Whenever, any user visits the homepage, they will be first routed to the <strong><em>pages <\/em><\/strong>application and then to the<\/p>\n\n\n\n<p><strong><em>homePageView, <\/em><\/strong>and set in thepages\/urls.py&nbsp;file.<\/p>\n\n\n\n<p>At last, to make sure if everything works fine, restart the Django server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Windows\n(.venv) &gt; python manage.py runserver\n\n# macOS\n(.venv) % python3 manage.py runserver\n\n<\/code><\/pre>\n\n\n\n<p>Then, after you refresh the server, you will get to see the \u201cHello World\u201d.<\/p>\n\n\n\n<p>So, this is how you can create Python Django application.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django is a very powerful web framework that lets you to deploy the Python websites or application. Django makes the process of web development easy, and lets you focus on writing the code. In this guide, you\u2019ll learn how to deploy Python Django web application. So, lets begin! Creating a New Project First, to create [&hellip;]<\/p>\n","protected":false},"author":34,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[2921,2920],"class_list":["post-14286","post","type-post","status-publish","format-standard","placeholder-for-hentry","category-howtos","tag-django-application","tag-python-application"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Know How to Deploy Python Django Application?<\/title>\n<meta name=\"description\" content=\"This guide explains the steps to deploy a python Django application.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Know How to Deploy Python Django Application?\" \/>\n<meta property=\"og:description\" content=\"This guide explains the steps to deploy a python Django application.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2022-08-18T10:46:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-08-18T10:46:02+00:00\" \/>\n<meta name=\"author\" content=\"Nehal Khatri\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nehal Khatri\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/\",\"name\":\"Know How to Deploy Python Django Application?\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"datePublished\":\"2022-08-18T10:46:00+00:00\",\"dateModified\":\"2022-08-18T10:46:02+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/0241ea191f60975839d956b6952e0a1d\"},\"description\":\"This guide explains the steps to deploy a python Django application.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Know How to Deploy Python Django Application?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/0241ea191f60975839d956b6952e0a1d\",\"name\":\"Nehal Khatri\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/736396ef8d8bdecec53ce8851058903e?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/736396ef8d8bdecec53ce8851058903e?s=96&d=blank&r=g\",\"caption\":\"Nehal Khatri\"},\"description\":\"Nehal is an ardent content writer. She's passionate about crafting content that's simple but adds value. Her insatiable interest in writing has allowed her to explore her skills. She is adept and can write for different types of content formats.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/nehal-khatri\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Know How to Deploy Python Django Application?","description":"This guide explains the steps to deploy a python Django application.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/","og_locale":"en_GB","og_type":"article","og_title":"Know How to Deploy Python Django Application?","og_description":"This guide explains the steps to deploy a python Django application.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2022-08-18T10:46:00+00:00","article_modified_time":"2022-08-18T10:46:02+00:00","author":"Nehal Khatri","twitter_misc":{"Written by":"Nehal Khatri","Estimated reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/","name":"Know How to Deploy Python Django Application?","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"datePublished":"2022-08-18T10:46:00+00:00","dateModified":"2022-08-18T10:46:02+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/0241ea191f60975839d956b6952e0a1d"},"description":"This guide explains the steps to deploy a python Django application.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/how-to-deploy-python-django-application\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"Know How to Deploy Python Django Application?"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/0241ea191f60975839d956b6952e0a1d","name":"Nehal Khatri","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/736396ef8d8bdecec53ce8851058903e?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/736396ef8d8bdecec53ce8851058903e?s=96&d=blank&r=g","caption":"Nehal Khatri"},"description":"Nehal is an ardent content writer. She's passionate about crafting content that's simple but adds value. Her insatiable interest in writing has allowed her to explore her skills. She is adept and can write for different types of content formats.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/nehal-khatri\/"}]}},"views":167,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/34"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=14286"}],"version-history":[{"count":4,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14286\/revisions"}],"predecessor-version":[{"id":14291,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/14286\/revisions\/14291"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=14286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=14286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=14286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}