<?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: Asif Shahzad</title>
    <description>The latest articles on DEV Community by Asif Shahzad (@asifshahzad1582).</description>
    <link>https://dev.to/asifshahzad1582</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%2F1044851%2F39cd7baa-cb14-4178-9548-da12a2e57189.png</url>
      <title>DEV Community: Asif Shahzad</title>
      <link>https://dev.to/asifshahzad1582</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/asifshahzad1582"/>
    <language>en</language>
    <item>
      <title>Django: Annotate vs. Aggregation in Data Manipulation</title>
      <dc:creator>Asif Shahzad</dc:creator>
      <pubDate>Thu, 03 Aug 2023 07:52:44 +0000</pubDate>
      <link>https://dev.to/asifshahzad1582/django-annotate-vs-aggregation-in-data-manipulation-4h5d</link>
      <guid>https://dev.to/asifshahzad1582/django-annotate-vs-aggregation-in-data-manipulation-4h5d</guid>
      <description>&lt;p&gt;In Django Annotate vs. Aggregation in Data Manipulation, both &lt;code&gt;annotate()&lt;/code&gt; and aggregation are used to perform calculations on querysets and retrieve computed values. However, they serve different purposes and have distinct use cases. So lets start  Annotate vs. Aggregation in Data Manipulation:&lt;br&gt;
Please follow the linked website:&lt;br&gt;
&lt;a href="https://kodewhiz.com/detail/52/django-annotate-vs-aggregation-in-data-manipulation"&gt;https://kodewhiz.com/detail/52/django-annotate-vs-aggregation-in-data-manipulation&lt;/a&gt;&lt;br&gt;
&lt;a href="https://kodewhiz.com/detail/52/django-annotate-vs-aggregation-in-data-manipulation"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://kodewhiz.com/projects"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Django Installation Easy Steps</title>
      <dc:creator>Asif Shahzad</dc:creator>
      <pubDate>Tue, 14 Mar 2023 07:57:03 +0000</pubDate>
      <link>https://dev.to/asifshahzad1582/django-installation-easy-steps-5cd9</link>
      <guid>https://dev.to/asifshahzad1582/django-installation-easy-steps-5cd9</guid>
      <description>&lt;p&gt;&lt;a href="https://kodewhiz.com/courses/django"&gt;Django &lt;/a&gt;is a high-level Python web framework that encourages rapid development and clean, pragmatic design. It is built by experienced developers. Here &lt;a href="https://kodewhiz.com/courses/django"&gt;Django &lt;/a&gt;installations steps are explained:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1. Create virtual environment&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;python -m venv venv&lt;br&gt;
.\venv\Scripts\activate # For Windows&lt;br&gt;
source venv/bin/activate # For Mac&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Install Django&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Pip install django&lt;br&gt;
Pip install --upgrade pip&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Create Project&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;django-admin startproject mysite&lt;br&gt;
cd mysite&lt;br&gt;
python manage.py runserver&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Create App&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;python manage.py startapp main&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. For image field install library&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;pip install pillow&lt;br&gt;
Sometimes it shows error so use the following code:&lt;br&gt;
pip install pillow==8.0.0&lt;br&gt;
python -m pip install --upgrade pip &lt;br&gt;
python -m pip install --upgrade pillow&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;6. To check installed Libraries&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;pip list&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7. To Uninstall Library&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;pip uninstall library_name&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8. Admin&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;python manage.py makemigrations&lt;br&gt;
python manage.py migrate&lt;br&gt;
python manage.py migrate --run-syncdb&lt;br&gt;
Python manage.py createsuperuser&lt;/p&gt;

&lt;p&gt;Learn more about Django, visit our website &lt;a href="https://kodewhiz.com/courses/django"&gt;https://kodewhiz.com/courses/django&lt;/a&gt;&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
