Author: web-admin

0

Chapter 4: Django QuerySet – Order By

QuerySet – Order By: .order_by() — sorting your data. Beginners often think “oh, just add -pub_date and done”, but .order_by() has many subtle but very powerful behaviors, especially when you combine it with annotations,...

0

Static Files

Static Files — CSS, JavaScript, images, fonts, PDFs, etc. The files that make your site look beautiful and modern instead of plain HTML. Many beginners either: hardcode inline styles forever (messy) put CSS in...

0

Chapter 1: Django – Add Static File

Add Static File: How to properly add and use static files (CSS, JavaScript, images, fonts, favicons, etc.) in Django. Many beginners either: keep writing everything inline inside <style> or <script> tags → code becomes...

0

Chapter 2: Django – Installing WhiteNoise

Installing and configuring WhiteNoise (the simplest, most popular way to serve static files in production when you don’t have a separate nginx/Apache server yet) Many people reach the deployment stage, run collectstatic, see 404...

0

Chapter 3: Django – Collect Static Files

Collecting static files — the python manage.py collectstatic command. This is the step that separates “it works on my laptop” from “it works on the internet”. Many people reach deployment day, see 404 errors...

0

Chapter 4: Django – Global Static Files

Global static files — the CSS, JavaScript, images, favicons, fonts, etc. that should appear on every single page of your app. Most beginners start by putting everything inside one app’s static/ folder (e.g. polls/static/polls/css/style.css)...

0

Chapter 5: Add CSS File to the Project

Add CSS File to the Project: Many beginners keep writing styles directly inside <style> tags in base.html or in individual templates — which works for 5 minutes, but becomes a complete nightmare when you...

0

Chapter 1: XML Home

What is an “XML Home” / XML Document? An XML document is the complete file or message that contains: (optional) XML declaration (optional) comments, processing instructions Exactly one root element (this is the most...

0

chapter 2: Introduction to XML

introduction to XML, written as if I’m a patient teacher explaining it to a beginner student (or someone who has forgotten the basics and wants to really understand it properly). I will go slowly,...

0

chapter 3: XML be Used

How can XML actually be used in the real world? I will explain it like we are sitting together and I’m showing you different real-life situations where XML appears, why people chose it, what...