<?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>Forem: lilo-creator</title>
    <description>The latest articles on Forem by lilo-creator (@lilocreator).</description>
    <link>https://forem.com/lilocreator</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%2F3289755%2Fc700a24d-f6e6-4c6c-a6ae-4e7b61c7954a.png</url>
      <title>Forem: lilo-creator</title>
      <link>https://forem.com/lilocreator</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/lilocreator"/>
    <language>en</language>
    <item>
      <title>My First Hands-On with Blockchain, Ethereum &amp; Lisk (And Yes, MetaMask Was Involved) 🧠🔗</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Wed, 16 Jul 2025 08:21:24 +0000</pubDate>
      <link>https://forem.com/lilocreator/my-first-hands-on-with-blockchain-ethereum-lisk-and-yes-metamask-was-involved-odg</link>
      <guid>https://forem.com/lilocreator/my-first-hands-on-with-blockchain-ethereum-lisk-and-yes-metamask-was-involved-odg</guid>
      <description>&lt;p&gt;So I recently joined a session that introduced me to the world of &lt;strong&gt;blockchain, Ethereum, and Web3&lt;/strong&gt; — and honestly, it was both mind-blowing and exciting.&lt;/p&gt;

&lt;p&gt;Before this, I’d heard all the buzzwords: decentralization, smart contracts, wallets... but now it’s all starting to make sense.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Actually Happened
&lt;/h2&gt;

&lt;p&gt;We started with the basics—what blockchain really is, how Ethereum fits into the picture, and what Web3 is trying to change.&lt;/p&gt;

&lt;p&gt;At first, it felt a bit abstract, but the more we explored, the more I saw how it all connects:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Blockchain isn’t just hype — it's a whole new way of storing and verifying data.&lt;/li&gt;
&lt;li&gt;Ethereum isn’t just a cryptocurrency — it’s a platform for building real apps (but decentralized).&lt;/li&gt;
&lt;li&gt;And Web3? It's about giving people control back.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Then Came MetaMask 🦊
&lt;/h2&gt;

&lt;p&gt;Toward the end of the session, we did something practical: installing MetaMask.&lt;br&gt;&lt;br&gt;
If you’ve never used it, MetaMask is a crypto wallet that lives in your browser. It lets you connect to decentralized apps (dApps) and explore the Web3 world.&lt;/p&gt;

&lt;p&gt;Setting it up was straightforward. I downloaded the extension, created a wallet, saved my recovery phrase (very important!), and just like that, I was Web3-ready.&lt;/p&gt;




&lt;h2&gt;
  
  
  Adding Lisk Networks
&lt;/h2&gt;

&lt;p&gt;Here’s the part that made it all feel real — we connected MetaMask to two &lt;strong&gt;Lisk networks&lt;/strong&gt;:&lt;br&gt;
lisk mainnet&lt;br&gt;
lisk sepolia testnet&lt;/p&gt;

&lt;p&gt;first click &lt;a href="https://chainlist.org/" rel="noopener noreferrer"&gt;the link&lt;/a&gt; then on the top right you will be able to connect to your meta mask wallet approve the connection.&lt;br&gt;
the next step is searching for the lisk mainnet and lisk sepolia testnet and connect them to the metamask wallet&lt;br&gt;
your wallet should be able to look like this after the connection&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Lisk sepolia Testnet
&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%2F61zmh72ynqa6a05x7gkw.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;li&gt;Lisk mainnet
&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%2Fkhqohz4fhxx5bofn0ai2.png" alt=" " width="800" height="449"&gt;
&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>blockchain</category>
      <category>web3</category>
    </item>
    <item>
      <title>🧠 Understanding MVC vs MVT in Django</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Wed, 02 Jul 2025 11:25:26 +0000</pubDate>
      <link>https://forem.com/lilocreator/understanding-mvc-vs-mvt-in-django-4bcp</link>
      <guid>https://forem.com/lilocreator/understanding-mvc-vs-mvt-in-django-4bcp</guid>
      <description>&lt;p&gt;✨ My First Steps in Django: Learning the Architecture Behind the Magic&lt;br&gt;
As I began my Django journey, I kept hearing about something called MVT and people kept comparing it to MVC. It was confusing at first, but once I understood the structure, everything made so much more sense.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What is MVC (Model-View-Controller)?
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;The MVC pattern is a common way to organize web applications. It separates your code into 3 parts:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Model – Manages the data and business rules (like a database table).&lt;/li&gt;
&lt;li&gt;View – The user interface; what the user sees (HTML pages).&lt;/li&gt;
&lt;li&gt;Controller – Takes user input, communicates with the model, and decides what view to display.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h3&gt;
  
  
  🧾 Example in MVC:
&lt;/h3&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A user clicks a button to view products.&lt;/li&gt;
&lt;li&gt;The Controller processes that action, retrieves the products from the Model.&lt;/li&gt;
&lt;li&gt;Then it sends them to the View, which displays the list of products.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  🧩 How Django Follows MVT (Model-View-Template)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Django doesn’t follow MVC strictly. Instead, it follows MVT, which works like this:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Model – Same as MVC. It defines the database structure using Python classes.&lt;/li&gt;
&lt;li&gt;View – This is where Django puts the logic to fetch data and return a response. It acts like the Controller in MVC.&lt;/li&gt;
&lt;li&gt;Template – The HTML page that shows data to the user.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;So where is the Controller in Django? 🤔&lt;/strong&gt;&lt;br&gt;
Django handles it internally using its powerful URL routing and request-response system. You don’t need to write a separate controller file — Django views handle that for you!&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  💬 Final Thoughts
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Learning the difference between MVC and MVT helped me understand how Django separates concerns and organizes its files. Even though it’s not exactly MVC, Django’s approach makes development fast, clean, and fun — especially with templates and the built-in admin!&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🚀 How I Created Two Django Applications with Their Own Templates</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Mon, 30 Jun 2025 18:25:36 +0000</pubDate>
      <link>https://forem.com/lilocreator/how-i-created-two-django-applications-with-their-own-templates-3d2d</link>
      <guid>https://forem.com/lilocreator/how-i-created-two-django-applications-with-their-own-templates-3d2d</guid>
      <description>&lt;p&gt;In todays Django learning i successfully built a project that contains two separate applications, each with its own HTML templates. In this article, I’ll walk you through what I did and what I learned — from setting up the project to organizing templates. Before you start the project you need to have;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;1.Python (version 3.10 or higher recommended)&lt;/li&gt;
&lt;li&gt;2. Code Editor ( Visual Studio Code)&lt;/li&gt;
&lt;li&gt;3.Browser&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I followed the below steps:&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  1 🛠 Setting Up the Django Project
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;first open the vscode and open the terminal &lt;br&gt;
 then  Create a Virtual Environment &amp;amp; Activate It&lt;/p&gt;

&lt;p&gt;python&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;   # Create a folder for your project
    mkdir my_django_project
    cd my_django_project

    # Create virtual environment
    python -m venv venv

    # Activate the virtual environment
    .\venv\Scripts\activate  # for Windows
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;After activation, you'll see this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; (venv) C:\Users\YourName\my_django_project&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  2.📦 Install Django
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;pip install django
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;next lets run the code&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;python manage.py runserver
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;click the links provided and you with see such an image&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%2Fumi19vxzq5vvdfivixzs.png" 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%2Fumi19vxzq5vvdfivixzs.png" alt=" " width="800" height="449"&gt;&lt;/a&gt;&lt;br&gt;
**&lt;/p&gt;
&lt;h2&gt;
  
  
  3.🛠Create Django Project &amp;amp; Apps
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
use the following commands to to create the main project and the two applications&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;# Create the project
django-admin startproject my_project .

# Create two apps
python manage.py startapp users
python manage.py startapp blog

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Register Apps in config/settings.py
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
 Open &lt;code&gt;my_project/settings.py&lt;/code&gt; and add the apps&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;INSTALLED_APPS = [
    ...
    'users',
    'attendance',
]

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Create Templates in Each App
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
In each app folder, create template directories like this:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;users/
└── templates/
    └── users/
        └── home.html

blog/
└── templates/
    └── blog/
        └── check_in.html

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then add some HTML like this in &lt;code&gt;home.html:&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Update views.py in each app
&lt;/h2&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;p&gt;from django.shortcuts import render&lt;br&gt;
&lt;code&gt;users/views.py&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def home(request):
    return render(request, 'users/home.html')

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;blog/views.py&lt;/code&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from django.shortcuts import render

def check_in(request):
    return render(request, 'blog/check_in.html')

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Create urls.py in both apps
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
users/urls.py&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='users-home'),
]

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;blog/urls.py&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='users-home'),
]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  8.Update Main URLconf in config/urls.py
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;from django.contrib import admin
from django.urls import path, include

urlpatterns = [
    path('admin/', admin.site.urls),
    path('', include('users.urls')),
    path('blog/', include('blog.urls')),
]

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  9.Final Folder Structure Overview
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;my_django_project/
├── my_project/
│   └── settings.py, urls.py, ...
├── users/
│   ├── views.py
│   └── templates/users/home.html
├── blog/
│   ├── views.py
│   └── templates/blog/check_in.html
├── venv/
├── manage.py
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  💡 What I Learned
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
How Django structures projects and apps&lt;br&gt;
How to route URLs within multiple apps&lt;br&gt;
How to keep templates organized per app&lt;/p&gt;

</description>
    </item>
    <item>
      <title>🔍 Understanding Python Data Types</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Fri, 27 Jun 2025 08:31:39 +0000</pubDate>
      <link>https://forem.com/lilocreator/understanding-python-data-types-37gd</link>
      <guid>https://forem.com/lilocreator/understanding-python-data-types-37gd</guid>
      <description>&lt;p&gt;Python is a popular programming language known for its simplicity and readability. But before you dive deep into coding, one of the most important concepts to grasp is data types.&lt;br&gt;
Think of data types like different kinds of boxes you can use to store information. Each box (data type) holds a specific kind of value — like numbers, words, lists of things, etc.&lt;br&gt;
Below are some of the data types that are common;&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;
&lt;h2&gt;
  
  
  1️⃣ Numbers
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
These are used to store numeric values.&lt;br&gt;
Integers (int): Whole numbers — e.g., 3, 0, -5&lt;br&gt;
Floats (float): Decimal numbers — e.g., 3.14, -0.5&lt;br&gt;
Complex (complex): Numbers with real and imaginary parts — e.g., 2 + 3j&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;age&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;21&lt;/span&gt;        &lt;span class="c1"&gt;# int
&lt;/span&gt;&lt;span class="n"&gt;height&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mf"&gt;5.6&lt;/span&gt;    &lt;span class="c1"&gt;# float
&lt;/span&gt;&lt;span class="n"&gt;z&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;+&lt;/span&gt; &lt;span class="mf"&gt;3j&lt;/span&gt;      &lt;span class="c1"&gt;# complex
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  &lt;strong&gt;2️⃣ Strings (str)&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;A string is a sequence of characters — usually used to represent text.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;name&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Lilian&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;
&lt;span class="n"&gt;greeting&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;Hello, world!&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  3️⃣ Booleans (bool)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Booleans represent True or False values — great for decisions and logic.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;is_logged_in&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="n"&gt;has_passed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="bp"&gt;False&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  4️⃣ Lists (list)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Lists are ordered collections of items — like a shopping list 🛒.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;fruits&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;apple&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;banana&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;mango&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="n"&gt;numbers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;4&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  5️⃣ Tuples (tuple)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
A tuple is just like a list — but it cannot be changed after creation.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;It&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;s immutable.
coordinates = (10, 20)
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  6️⃣ Dictionaries (dict)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
Dictionaries store key-value pairs — like an ID and its name.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;user&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;name&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;Lilian&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;age&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="mi"&gt;22&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;is_active&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="bp"&gt;True&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  7️⃣ Sets (set)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
A set is a collection of unique items, no duplicates allowed.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;colors&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;red&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;blue&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;green&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;red&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;colors&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;  &lt;span class="c1"&gt;# {'red', 'blue', 'green'}
&lt;/span&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>python</category>
      <category>datatype</category>
      <category>learning</category>
    </item>
    <item>
      <title>🛠️ Mastering Git &amp; GitHub</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Thu, 26 Jun 2025 11:11:11 +0000</pubDate>
      <link>https://forem.com/lilocreator/mastering-git-github-506m</link>
      <guid>https://forem.com/lilocreator/mastering-git-github-506m</guid>
      <description>&lt;p&gt;On day two i was mastering git and github Below are some of this things i highlighted&lt;br&gt;
**&lt;/p&gt;

&lt;h2&gt;
  
  
  🚀 1. Forking a Repository
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
 Forking means creating your own copy of someone else's GitHub repository.&lt;br&gt;
steps:&lt;br&gt;
Go to any public repo on GitHub and click “Fork”.&lt;br&gt;
Explore the copy created in your account — this is now yours to modify.&lt;br&gt;
🧠 Tip: Think of forking as "duplicating to contribute."&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  🤝 2. Collaboration
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
This is working with others on a shared project.&lt;br&gt;
Steps:&lt;br&gt;
Join a team project or contribute to open source.&lt;br&gt;
Practice using branches to isolate your changes.&lt;br&gt;
Learn to pull updates from the main project to stay in sync.&lt;br&gt;
🔧 Hands-on Task: Clone a team repo, create a new branch, make a change, and push it.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  🔃 3. Pull Requests (PRs)
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
 This is a request to merge your changes into the original repository.&lt;br&gt;
 Steps:&lt;br&gt;
After pushing your changes, click “New pull request” on GitHub.&lt;br&gt;
Write a clear title and description for your PR.&lt;br&gt;
Tag someone for review and wait for feedback.&lt;br&gt;
📚 Practice idea: Fork any repo, add a README update, and submit a pull request.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  ⚔️ 4. Merge Conflicts
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
It happens when Git can’t automatically merge two versions of a file.&lt;br&gt;
How to grasp it:&lt;br&gt;
Simulate it: Edit the same line of code on two branches.&lt;br&gt;
Try merging and resolve the conflict using VS Code or terminal.&lt;br&gt;
Commit the resolved file to finalize.&lt;br&gt;
⚠️ Lesson: Always pull the latest changes before pushing yours.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  👀 5. Code Review
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
This is Reviewing someone else's code before it’s merged.&lt;br&gt;
How to grasp it:&lt;br&gt;
Learn to comment constructively on PRs.&lt;br&gt;
Use GitHub’s "Files changed" tab to explore differences.&lt;br&gt;
Suggest changes or approve if everything looks good.&lt;br&gt;
🤝 Growth Tip: Volunteer to review a teammate’s PR.&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  📝 6. GitHub Issues
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
 This is a way to track bugs, tasks, or enhancements.&lt;br&gt;
How to grasp it:&lt;br&gt;
Create an issue to report a bug or propose a feature.&lt;br&gt;
Label it appropriately and assign it to someone (or yourself).&lt;br&gt;
Use it to track progress and link it in your PR.&lt;br&gt;
📌 Try it: Open a new issue in a test repo and reference it in a PR .&lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  🧑🏽‍💻 7. Essential Git Commands
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
This are terminal commands that help you control Git.&lt;br&gt;
This are some basic commands:&lt;br&gt;
&lt;code&gt;git clone &amp;lt;repo_url&amp;gt;&lt;br&gt;
git checkout -b new-branch&lt;br&gt;
git add .&lt;br&gt;
git commit -m "your message"&lt;br&gt;
git push origin new-branch&lt;br&gt;
git pull origin main&lt;br&gt;
git merge main&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  &lt;strong&gt;☁️ 8. Pushing Changes to GitHub&lt;/strong&gt;
&lt;/h2&gt;

&lt;p&gt;This is  Uploading your local changes to your online repo.&lt;br&gt;
steps:&lt;br&gt;
After committing your changes, use:&lt;br&gt;
&lt;code&gt;git push origin branch-name&lt;/code&gt;&lt;br&gt;
Then Go to GitHub and check your changes online.&lt;/p&gt;

</description>
      <category>github</category>
      <category>mastering</category>
    </item>
    <item>
      <title>Django Setup</title>
      <dc:creator>lilo-creator</dc:creator>
      <pubDate>Tue, 24 Jun 2025 17:23:14 +0000</pubDate>
      <link>https://forem.com/lilocreator/django-setup-kib</link>
      <guid>https://forem.com/lilocreator/django-setup-kib</guid>
      <description>&lt;p&gt;Hey devs 👋🏽&lt;br&gt;
This is my very first article here on Dev.to — yaay! 🥳&lt;br&gt;
I recently set up my development environment from scratch, and I thought, why not share it? 💻&lt;br&gt;
If you're just starting out in Python, web development, or DevOps, these are some tools you’ll definitely need.&lt;br&gt;
Here's a simple, step-by-step guide I used to install:  &lt;/p&gt;

&lt;p&gt;**&lt;/p&gt;

&lt;h2&gt;
  
  
  1  Git
&lt;/h2&gt;

&lt;p&gt;**&lt;br&gt;
For Windows:&lt;br&gt;
Go to &lt;a href="https://git-scm.com/" rel="noopener noreferrer"&gt;https://git-scm.com/&lt;/a&gt;&lt;br&gt;
Download the latest version.&lt;br&gt;
Follow the installer prompts (use defaults if unsure).&lt;br&gt;
sign up and create an account &lt;/p&gt;

&lt;h2&gt;
  
  
  2.  Python 3.10
&lt;/h2&gt;

&lt;p&gt;first check your version :&lt;br&gt;
&lt;code&gt;python --version&lt;/code&gt;&lt;br&gt;
If it’s below 3.10 or not found then in :&lt;br&gt;
Windows:&lt;br&gt;
Download from the official site👉 &lt;a href="https://www.python.org/downloads/" rel="noopener noreferrer"&gt;https://www.python.org/downloads/&lt;/a&gt;&lt;br&gt;
During installation, check the box that says “Add Python to PATH”!&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Text Editor: VS Code
&lt;/h2&gt;

&lt;p&gt;To install VSCode:&lt;br&gt;
Download from &lt;a href="https://code.visualstudio.com/" rel="noopener noreferrer"&gt;https://code.visualstudio.com/&lt;/a&gt;&lt;br&gt;
Install extensions like Python&lt;/p&gt;

&lt;h2&gt;
  
  
  4. WSL for Windows Users
&lt;/h2&gt;

&lt;p&gt;This lets you run Linux on Windows — perfect for dev work.&lt;br&gt;
Steps:&lt;br&gt;
 Open PowerShell as Admin and run:&lt;br&gt;
 &lt;code&gt;wsl --install&lt;/code&gt;&lt;br&gt;
 Restart your PC.&lt;br&gt;
 On boot, choose your Linux distro (Ubuntu is perfect for beginners).&lt;br&gt;
 Set up username &amp;amp; password.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Installing Docker
&lt;/h2&gt;

&lt;p&gt;Docker is essential for containerizing your apps.&lt;/p&gt;

&lt;p&gt;To install:&lt;br&gt;
Download Docker Desktop from(&lt;a href="https://www.docker.com/products/docker-desktop" rel="noopener noreferrer"&gt;https://www.docker.com/products/docker-desktop&lt;/a&gt;)&lt;br&gt;
Install &amp;amp; follow the prompts.&lt;br&gt;
Restart if needed.&lt;br&gt;
Check if it's working:&lt;br&gt;
&lt;code&gt;docker --version&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Configuring Git with GitHub SSH
&lt;/h2&gt;

&lt;p&gt;This step avoids having to type your password all the time when pushing code to GitHub.&lt;br&gt;
Step-by-step:&lt;br&gt;
1.Check for existing SSH keys:&lt;br&gt;
&lt;code&gt;ls ~/.ssh&lt;/code&gt;&lt;br&gt;
2.If none, generate one:&lt;br&gt;
&lt;code&gt;ssh-keygen -t ed25519 -C "lmlilian702@gmail.com"&lt;/code&gt;&lt;br&gt;
Just press Enter through the prompts.&lt;br&gt;
3.Add the SSH key to your GitHub:&lt;br&gt;
&lt;code&gt;cat ~/.ssh/id_ed25519.pub&lt;/code&gt;&lt;br&gt;
Copy the output, go to GitHub:&lt;br&gt;
Settings &amp;gt; SSH and GPG keys &amp;gt; New SSH key&lt;br&gt;
Paste and save.&lt;br&gt;
4.Test it:&lt;br&gt;
&lt;code&gt;ssh -T git@github.com&lt;/code&gt;&lt;/p&gt;

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