{"id":97925,"date":"2022-06-17T19:24:30","date_gmt":"2022-06-17T23:24:30","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=97925"},"modified":"2024-06-03T14:31:10","modified_gmt":"2024-06-03T18:31:10","slug":"install-django-cwp","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/","title":{"rendered":"Install Django 4 on Control Web Panel"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install-1024x538.jpg\" alt=\"Install Django on Control Web Panel - Python-based Web Framework\" class=\"wp-image-97924\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>Django is a Python-based web framework focused on speed, security, and scalability. It is used for various applications including user authentication, administration panels, content management, and customer relationship management (CRM) systems. Many choose to install Django for its minimal prerequisites (Python) and ability to integrate with <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/create-postgresql-database-cwp\/\">PostgreSQL<\/a>, <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/create-mongodb-database-cwp\/\">MongoDB<\/a>, and many other niche software.<\/p>\n\n\n\n<p class=\"alert alert-info\">If using managed <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/what-is-cwp-hosting\/\">CWP Hosting<\/a> instead of an unmanaged server, check with your hosting provider first to determine whether they have a special version of Django already available to save you time configuring your system.<\/p>\n\n\n\n<p>Below we\u2019ll cover how to set up the Django web framework in Control Web Panel (CWP).\u00a0 CWP Simple Terminal only uses the sh shell. If you follow the guide in the CWP terminal emulator, you\u2019ll need to log into Secure Shell (SSH) to activate a Python or virtualenv environment.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#how\">install How to Install Django on Control Web Panel<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#pip\">Install Django with PIP<\/a><\/li>\n\n\n\n<li><a href=\"#virtual\">Virtual Python environments<\/a><\/li>\n\n\n\n<li><a href=\"#os\">Install Django from Distribution Packages<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#work\">Ensure Django Works in the Python Environment<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#admin\">Access Django Admin Panel<\/a><\/li>\n\n\n\n<li><a href=\"#troubleshoot\">Troubleshoot Django Installation<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">How to Install Django on Control Web Panel<\/h2>\n\n\n\n<p>Before installing Django, you need to ensure you have the correct version of Python installed. Django 1.11 TLS is the latest version with Python 2.7 support. We will cover the latest version which requires Python 3.8 or higher.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/install-control-web-panel-cwp\/#login\">Log into CWP<\/a> and open CWP Simple Terminal at the top. Alternatively, <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">log into SSH<\/a> as root.<\/li>\n\n\n\n<li>Check which Python version you have installed: <pre>python3 --version<\/pre> If the version is 3.8 or higher, skip to step 9. If it is less than 3.8, continue to the next step.\u00a0<\/li>\n\n\n\n<li>Install Python dependencies for your manual installation: <pre>yum -y install openssl-devel bzip2-devel libffi-devel zlib-devel<\/pre><\/li>\n\n\n\n<li>Download the <a href=\"https:\/\/www.python.org\/downloads\/source\/\">latest stable Python version<\/a> (3.10.5 at the time of writing this): <pre>wget https:\/\/www.python.org\/ftp\/python\/3.10.5\/Python-3.10.5.tgz<\/pre><\/li>\n\n\n\n<li>Extract the file: <pre>tar -xvf Python-3.10.5.tgz<\/pre><\/li>\n\n\n\n<li>Navigate to the new directory and prepare the build: <pre>cd Python-3.10.5<\/pre><br><pre>.\/configure --enable-optimizations<\/pre><\/li>\n\n\n\n<li>Complete the build: <pre>make altinstall<\/pre><\/li>\n\n\n\n<li>Verify the installation is completed: <pre>python3.10 --version<\/pre><\/li>\n\n\n\n<li>Continue to install Django with <a href=\"#pip\">PIP<\/a> (recommended), a <a href=\"#virtual\">virtual environment<\/a>, or your system <a href=\"#os\">package manager<\/a>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"pip\">Install Django with PIP<\/h3>\n\n\n\n<p>PIP (Python Installs Packages) is the recommended Django installation method for global system usage.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check which PIP version is already installed: <pre>pip3 -V<\/pre><\/li>\n\n\n\n<li>Unless you need a specific version of PIP for another application, upgrade PIP to the latest version: <pre>python3 -m pip install --upgrade pip<\/pre><\/li>\n\n\n\n<li>Install Django: <pre>python3.10 -m pip install Django<\/pre><\/li>\n\n\n\n<li><a href=\"#work\">Ensure Django works<\/a>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"virtual\">Virtual Python environments<\/h3>\n\n\n\n<p>The virtualenv route is great for negating conflicts with other project\u2019s requirements.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check which PIP version is already installed: <pre>pip3 -V<\/pre><\/li>\n\n\n\n<li>Unless you need a specific version of PIP for another application, upgrade PIP to the latest version: <pre>python3 -m pip install --upgrade pip<\/pre><\/li>\n\n\n\n<li>Install virtualenv: <pre>sudo python3 -m pip install virtualenv<\/pre><\/li>\n\n\n\n<li>Create a virtual environment to start a new project, replacing \u201cdjangoproject1\u201d with your preferred title: <pre>mkdir ~\/djangoproject1<\/pre><\/li>\n\n\n\n<li>Navigate to the new project directory: <pre>cd ..\/djangoproject1<\/pre><\/li>\n\n\n\n<li>Install an isolated version of Python and PIP in the project directory, replacing \u201cpackages\u201d if desired: <pre>virtualenv packages<\/pre><\/li>\n\n\n\n<li>You\u2019ll need to log into SSH as root to log into the virtual environment (replace \u201cdjangoproject1\u201d and \u201cpackages\u201d): <pre>source \/root\/djangoproject1\/packages\/bin\/activate<\/pre><\/li>\n\n\n\n<li>The prompt will change to reflect that you\u2019ve entered the virtual environment, showing your packages directory name from step 6 in parenthesis \u201c()\u201d. Use PIP to install Django in the virtual environment: <pre>pip install django<\/pre><\/li>\n\n\n\n<li>Check your installed version: <pre>django-admin --version<\/pre><\/li>\n\n\n\n<li>Once done with development, you can exit the virtual environment with either of the following commands: <pre>deactivate<\/pre> <pre>exit<\/pre>You should stay logged into the environment to <a href=\"#work\">ensure it works<\/a>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"os\">Install Django from Distribution Packages<\/h3>\n\n\n\n<p>If you\u2019d prefer not to use PIP, the following operating systems (OSs) have Django in their package management systems:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>AlmaLinux and other Enterprise-based distros (via https:\/\/RPMFind.net)<\/li>\n\n\n\n<li>Arch<\/li>\n\n\n\n<li>BSD (via https:\/\/pkgsrc.se)<\/li>\n\n\n\n<li>Debian<\/li>\n\n\n\n<li>Fedora<\/li>\n\n\n\n<li>macOS (via MacPorts)<\/li>\n\n\n\n<li>openSUSE<\/li>\n\n\n\n<li>Ubuntu<\/li>\n<\/ul>\n\n\n\n<p class=\"alert alert-warning\">These packages are maintained by the community and may not be up to date. Before choosing this route, you should check what version would be installed and whether it is legitimate.<\/p>\n\n\n\n<p>If you do install Django this way, <a href=\"#work\">ensure it works<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"work\">Ensure Django Works in the Python Environment<\/h2>\n\n\n\n<p><a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/ssh\/how-to-login-ssh\/\">Log into SSH<\/a> if you haven\u2019t already and open a Python shell (this feature is unsupported in CWP Simple Terminal):\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">python3.10<\/pre>\n\n\n\n<p>Import and print Django\u2019s current version:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import django<\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">print(django.get_version())<\/pre>\n\n\n\n<p>You should receive the Django version installed: 4.0.X.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"admin\">Access Django Admin Panel<\/h3>\n\n\n\n<p>Now we need to ensure the Django admin panel works.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Ensure you\u2019re in the root directory for your Django projects.<\/li>\n\n\n\n<li>Create the Django management script. If the project exists, navigate into that directory. Start the virtual environment if required. Then run the following command, replacing \u201cprojectname\u201d with your project name (note the period at the end): <pre>django-admin startproject projectname .<\/pre><br>To create a new project:<pre>django-admin startproject djangoproject2<\/pre><br><pre>cd djangoproject2<\/pre><\/li>\n\n\n\n<li>Create an SQLite database for your project: <pre>python manage.py migrate<\/pre><\/li>\n\n\n\n<li>Create an admin user for the dashboard: <pre>python manage.py createsuperuser<\/pre> You\u2019ll be asked to enter an email address and password.<\/li>\n\n\n\n<li>Now you can start the Django development server to preview projects: <pre>python manage.py runserver 0.0.0.0:8000<\/pre><\/li>\n\n\n\n<li>Open your project instance in the web browser. The URL will be \u201cyourserverhostname:8000.\u201d You should see a page stating the installation is successful.<\/li>\n\n\n\n<li>Access the dashboard by adding \u201c\/admin\u201d to the end of the URL (e.g. yourserverhostname:8000\/admin).<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"394\" height=\"295\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration-login.png\" alt=\"Django administration prompt\" class=\"wp-image-97923\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration-login.png 394w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration-login-300x225.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Login with your superuser name and password and you should be redirected to the admin dashboard.<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"964\" height=\"290\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration.png\" alt=\"Django development server admin panel\" class=\"wp-image-97922\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration.png 964w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration-300x90.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/django-administration-768x231.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>To stop the development server, type <kbd>Ctrl<\/kbd> + <kbd>C<\/kbd> in the terminal.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"troubleshoot\">Troubleshoot Django Installation<\/h3>\n\n\n\n<p>If you\u2019re having trouble after installing Django, try one of the following:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Check your applications to see if a specific Python version is required<\/li>\n\n\n\n<li>Check for uninstalled dependencies<\/li>\n\n\n\n<li>Upgrade PIP<\/li>\n<\/ul>\n\n\n\n<p>If you\u2019re looking for project ideas, check out these <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/website-design\/python-programming\/\">Python training resources<\/a>.<\/p>\n\n\n\n<p>Learn more about how to manage your <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/\">CWP server<\/a>.<\/p>\n\n\n<div class=\"jumbotron\" style=\"text-align:center;\">\r\n<p style=\"font-size: 20px;\"><strong>Scalable VPS Infrastructure, Fully Managed<\/strong><\/p>\r\n<p>When shared hosting can't handle your traffic, VPS delivers dedicated resources that scale with demand. Our team manages the technical complexity while you manage your business.<\/p>\r\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>NVMe Storage &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>High-Availability &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Ironclad Security &nbsp;&nbsp; <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/design.inmotionhosting.com\/assets\/icons\/standard\/check-blue.svg\" alt=\"check mark\" width=\"24\" height=\"24\" \/>Premium Support<\/p>\r\n<p><a class=\"btn btn-primary btn-lg\" href=\"https:\/\/www.inmotionhosting.com\/vps-hosting?mktgp=t&irgwc=1&affiliates=5001860&utm_campaign=Jumbotron&utm_source=supportcenter&utm_medium=cta&utm_term=vps-cta2\">VPS Hosting<\/a><\/p>\r\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Django is a Python-based web framework focused on speed, security, and scalability. It is used for various applications including user authentication, administration panels, content management, and customer relationship management (CRM) systems. Many choose to install Django for its minimal prerequisites (Python) and ability to integrate with PostgreSQL, MongoDB, and many other niche software. If using<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":97924,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4594],"tags":[],"class_list":["post-97925","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-server-software"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Install Django 4 on Control Web Panel | InMotion Hosting<\/title>\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.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Install Django 4 on Control Web Panel | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"Django is a Python-based web framework focused on speed, security, and scalability. It is used for various applications including user authentication, administration panels, content management, and customer relationship management (CRM) systems. Many choose to install Django for its minimal prerequisites (Python) and ability to integrate with PostgreSQL, MongoDB, and many other niche software. If using Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-06-17T23:24:30+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-03T18:31:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. 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\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Install Django 4 on Control Web Panel\",\"datePublished\":\"2022-06-17T23:24:30+00:00\",\"dateModified\":\"2024-06-03T18:31:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\"},\"wordCount\":891,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg\",\"articleSection\":[\"Server Software\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\",\"name\":\"Install Django 4 on Control Web Panel | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg\",\"datePublished\":\"2022-06-17T23:24:30+00:00\",\"dateModified\":\"2024-06-03T18:31:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Install Django on Control Web Panel - Python-based Web Framework\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Install Django 4 on Control Web Panel\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Install Django 4 on Control Web Panel | InMotion Hosting","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.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/","og_locale":"en_US","og_type":"article","og_title":"Install Django 4 on Control Web Panel | InMotion Hosting","og_description":"Django is a Python-based web framework focused on speed, security, and scalability. It is used for various applications including user authentication, administration panels, content management, and customer relationship management (CRM) systems. Many choose to install Django for its minimal prerequisites (Python) and ability to integrate with PostgreSQL, MongoDB, and many other niche software. If using Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-06-17T23:24:30+00:00","article_modified_time":"2024-06-03T18:31:10+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Install Django 4 on Control Web Panel","datePublished":"2022-06-17T23:24:30+00:00","dateModified":"2024-06-03T18:31:10+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/"},"wordCount":891,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","articleSection":["Server Software"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/","name":"Install Django 4 on Control Web Panel | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","datePublished":"2022-06-17T23:24:30+00:00","dateModified":"2024-06-03T18:31:10+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","width":1200,"height":630,"caption":"Install Django on Control Web Panel - Python-based Web Framework"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/install-django-cwp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Install Django 4 on Control Web Panel"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/06\/cwp-django-install.jpg","jetpack_sharing_enabled":true,"primary_category":{"id":4594,"name":"Server Software","slug":"server-software","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/server-software\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97925","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=97925"}],"version-history":[{"count":23,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97925\/revisions"}],"predecessor-version":[{"id":103078,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97925\/revisions\/103078"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/97924"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=97925"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=97925"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=97925"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}