<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Stesha Quarcoo</title>
    <description>The latest articles on DEV Community by Stesha Quarcoo (@b0ym3r).</description>
    <link>https://dev.to/b0ym3r</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1156409%2Fb95d98cc-4f65-49f0-9b58-766a5dfb30dc.jpg</url>
      <title>DEV Community: Stesha Quarcoo</title>
      <link>https://dev.to/b0ym3r</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/b0ym3r"/>
    <language>en</language>
    <item>
      <title>Problems with django-admin function?</title>
      <dc:creator>Stesha Quarcoo</dc:creator>
      <pubDate>Fri, 08 Sep 2023 11:07:59 +0000</pubDate>
      <link>https://dev.to/b0ym3r/problems-with-django-admin-function-2kek</link>
      <guid>https://dev.to/b0ym3r/problems-with-django-admin-function-2kek</guid>
      <description>&lt;p&gt;Django is basically a backend framework that utilizes Python as its main language to integrate with front-end web development.&lt;br&gt;
&lt;a href="https://www.djangoproject.com/"&gt;More info about Django here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using Django as a newbie can be tough. So much new stuff to do as well as new terms to understand. And nothing hurts more than starting a new language and being hit with..... &lt;strong&gt;&lt;em&gt;an error message&lt;/em&gt;&lt;/strong&gt;. &lt;/p&gt;

&lt;p&gt;Many Django users know that to start Django, you need to first install it under Python with "pip". Now after installation, to use Django you need to create a project. The &lt;strong&gt;project&lt;/strong&gt; is the entire directory/folder. Within the project, one can now create an &lt;strong&gt;app&lt;/strong&gt; which is basically the application that will be used in your website. The project-app relationship is sort of similar to a folder-file relationship, where apps make up the files and project the folder.&lt;/p&gt;

&lt;p&gt;So to create a new Django project, navigate to your desired directory in your terminal or Command prompt using 'cd'. Now here is where the problem may arise. The standard code for creating the Django project is&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;django-admin startproject PROJECT_NAME
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;where the PROJECT_NAME is the desired name for your project. Now, if it this goes well for you, Hallelujah. But some of us may be unfortunate to be hit with this:&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--G_iiggIz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rxoxqegpsyphfx1r6jb7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--G_iiggIz--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rxoxqegpsyphfx1r6jb7.png" alt="Image description" width="800" height="126"&gt;&lt;/a&gt;&lt;br&gt;
Now don't panic, that is the purpose of this article. I asked Bing AI for any debugging tips and &lt;a href="https://sl.bing.net/gLB2FgE3zAO"&gt;here was the response&lt;/a&gt;&lt;br&gt;
Still I found no help. So I experimented for a while and tried this&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;python -m django startproject article
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--wL0Q3zXu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kkjwbfhp9umrjxibiaa.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--wL0Q3zXu--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2kkjwbfhp9umrjxibiaa.png" alt="Image description" width="715" height="79"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;AND IT WORKED!!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--VQ9C2VvR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r4umh981bmz8wc2v64ci.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--VQ9C2VvR--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r4umh981bmz8wc2v64ci.png" alt="Image description" width="406" height="82"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--nGbfYpES--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vevw06k4jmw05fbzefgi.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nGbfYpES--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_800/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vevw06k4jmw05fbzefgi.png" alt="Image description" width="583" height="355"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;NOTE: This was tested in Windows OS.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In a nutshell, I have explained a little bit of how to fix a minute Django problem and also how to understand a bit of Django. I hope you enjoyed this. Please share and Happy Dev'ing&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>django</category>
      <category>newbie</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
