<?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: TenengFaith </title>
    <description>The latest articles on DEV Community by TenengFaith  (@prg_mtfj).</description>
    <link>https://dev.to/prg_mtfj</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%2F2895376%2F11043464-d763-42f5-8486-a9fa9a8928e4.jpeg</url>
      <title>DEV Community: TenengFaith </title>
      <link>https://dev.to/prg_mtfj</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prg_mtfj"/>
    <language>en</language>
    <item>
      <title>My Django Training</title>
      <dc:creator>TenengFaith </dc:creator>
      <pubDate>Sat, 01 Mar 2025 18:30:21 +0000</pubDate>
      <link>https://dev.to/prg_mtfj/my-django-training-3m5f</link>
      <guid>https://dev.to/prg_mtfj/my-django-training-3m5f</guid>
      <description>&lt;p&gt;&lt;strong&gt;setting up my environment&lt;/strong&gt;&lt;br&gt;
I already had python installed on my PC and I use VS code virtual environment so I set up my django environment by typing the following commands on my console &lt;br&gt;
1.pip install Django: This step downloads and installs Django in the VS code environment &lt;br&gt;
2.pip install pipenv: It installs the "pipenv package which will be used to launch and build the application &lt;br&gt;
3.pipenv shell: It sets up the folder in which the apps will be created &lt;br&gt;
4.pipenv install Django:It installs and setsup Django in the created folder&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Starting my first project&lt;/strong&gt;&lt;br&gt;
To start my project, I typed the command "Django-admin startproject camerapp" and this created a Folder "camerapp" which contained folders &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx85iygxxqmblrpqn2st0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fx85iygxxqmblrpqn2st0.jpg" alt="Image description" width="429" height="689"&gt;&lt;/a&gt; and it also created a file called "manage.py"&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxs9swydlth96g9oiic1.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Foxs9swydlth96g9oiic1.jpg" alt="Image description" width="412" height="424"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I learnt that Django is divided into three parts which are view,models (MVT architecture) and templates which can each be manipulated by the files created when I used the Django-admin command.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz2tgb8zdom33ehdtp80e.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fz2tgb8zdom33ehdtp80e.jpg" alt="Image description" width="539" height="243"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Creating The application&lt;/strong&gt; &lt;br&gt;
To start the application's creation I typed the command "python manage.py startapp cammap". Cammap was the name of the application I aimed at creating and contained the following files &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Figzdcjfwj000rz03w00o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Figzdcjfwj000rz03w00o.jpg" alt="Image description" width="356" height="454"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That was the last step in setting up my environment and creating the basic foundation of the project for my first weak. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp1qqxyzkt4350ut1kv0o.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fp1qqxyzkt4350ut1kv0o.jpg" alt="Image description" width="800" height="1066"&gt;&lt;/a&gt;&lt;br&gt;
I encountered no errors so far so the first week has been a success &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>python</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
