Single logo
  • Courses
  • Blog
  • About
Join on SkoolJoin on Skool
  1. Blog
  2. /
  3. Django

Topic

Django

Django from models to views and templates, plus Django REST Framework.

10 posts·2 sections

Start here

Start with: Django, FastAPI or Flask? The Same Blog Feature in Three Shapes, and How to Choose
Sections
Fundamentals9Models and ORM1
Section 19 posts

Fundamentals

  1. 01
    Django, FastAPI or Flask? The Same Blog Feature in Three Shapes, and How to Choose

    One small project lists two blog posts three times: as a Django view, a Flask route and a FastAPI endpoint. See each shape with its real output, what each framework includes, and a three-question way to choose.

  2. 02
    Getting Started with Django: Models, Views, Templates, the ORM and the Admin

    A tiny Django menu app with one model, one view, one URL, one template and the admin. What each file does, how one request travels through them, and the real output of a run.

  3. 03
    Your First Django Project and App: uv, startproject, startapp and a First View

    Set up a Django project called blogproject with uv, add an app called blog, write one view that returns Hello blog, give it the empty path and run the server. Every command with its real output.

  4. 04
    The Django Project Folder Structure, File by File: Reading a Blog an AI Agent Built

    A tour of a finished Django blog: manage.py, the project package, the blog app with its models, views, templates, forms and admin, a custom command, the REST API and Swagger docs, plus the review points check --deploy found.

  5. 05
    How a Request and a Login Flow Through Django: URLconf, ORM, CSRF, Password Hashes and Sessions

    Follow the home page from URLconf to SQLite and back (8 queries), then a login: the csrftoken, a 403 without it, the pbkdf2 password hash, the django_session row, the sessionid cookie, and a review finding about who may write posts.

  6. 06
    Testing a Django Blog with pytest-django: Fixtures, the Test Database and the Client

    Fourteen pytest tests for a Django blog: pytest.ini, fixtures in conftest.py, a test database that leaves db.sqlite3 alone, the client fixture for pages and login, and how to read a failure before you fix it.

  7. 07
    One Blog, Three Frameworks: Routing, Models, Templates and Layout in Django, FastAPI and Flask

    The same blog built in Django, FastAPI and Flask, compared line by line: the list route, the Post model, the template loop, the project layout and the extras, with a ROSETTA map you can use to port a feature with AI.

  8. 08
    Building a Blog with an AI Coding Agent: Plan Mode, a Master Prompt and the First Review

    Start from an almost empty folder, ask an AI agent for a plan before any code, run the blog it builds in Django, FastAPI or Flask, then review it: who is allowed to write a post, and how does someone become the admin?

  9. 09
    Handing a Figma Design to an AI Agent: Compare the Files, Then Review the Change

    Give the downloaded design to the AI agent, then compare the two project trees file by file. In Django it added two fields and a Quill editor, in FastAPI a bcrypt clash broke login until a pin fixed it, and in Flask five pages never got the design while CORS and Swagger arrived uninvited.

Back to sections
Section 21 post

Models and ORM

  1. 10
    Django Models, Migrations and the Admin: From a Post Class to a Real Table

    A Post model with three fields becomes the blog_post table. makemigrations writes the plan, sqlmigrate shows the SQL, migrate runs it, the ORM saves and finds posts, and two lines in admin.py give you a back office.

Sections
  1. 1.Fundamentals9
  2. 2.Models and ORM1
Community · Free to join
Single logo

StudyEasy AI Community

Hosted onSkool

Learn AI engineering, share what you build, and connect with other learners.

  • Free resources: lesson files, notebooks and code

  • Ask questions and join engineering discussions

  • Meet real people learning and building with AI

Join free on Skool

Single logo

Empowering Education, One Course at a Time

About
About usContact us
Legal
Terms of UsePrivacy Policy

© 2026 StudyEasy Organization. All rights reserved.