Giter VIP home page Giter VIP logo

djangoforbeginners's Introduction

Django for Beginners

GitHub stars

This is the code repository for Django for Beginners, written by William Vincent. It contains all the supporting project files necessary to work through the book from start to finish.

About the Book

Django for Beginners is a comprehensive guide to building modern Python web applications with Django. The book proceeds step-by-step through seven increasingly complex apps, covering Django fundamentals--models, views, URLs, templates--and more advanced topics such as APIs, user authentication, testing, deployment, forms, permissions, security, and performance. You'll learn how to solve common problems, implement best practices, and leverage Django's powerful third-party package ecosystem.

After reading this book, you will have a solid understanding of how Django works and the ability to build real-world, advanced web applications in a short amount of time.

Requirements

This book requires Python 3.11+ and Django 4.2.

Django Projects

The book covers a wide range of web development and Django topics across five different projects:

  • Initial Set Up (chapter 1):

    • Properly configure a Windows or macOS computer for Django development
    • Introduction to the Command Line and basic Shell commands
    • Correctly install Python 3.11
    • Guide to Python virtual environments
    • How to install Django to the latest version (4.2)
    • Text editor bonus configurations for improved workflow
    • First Django project
    • Install and configure Git for use throughout the book
  • Hello World Application (chapter 2):

    • Comprehensive overview of how websites work under-the-hood
    • Introduction to web frameworks
    • (MVC) Model-View-Controller vs (MVT) Model-View-Template
    • Create an app with views and URLs
    • Learn how to create a requirements.txt file and store code on GitHub
  • Pages Application (chapter 3):

    • Build views, URLs, and template files
    • Explore Class-Based-Views
    • Learn how to extend templates, using a base file
    • Add robust tests for all new functionality
    • Deployment checklist to switch from local development to production
    • Deploy the website via Fly.io
  • Message Board Application (chapters 4-5):

    • models...
  • Blog Application (chapters 6-9):

    • Implement authentication using the Django authentication framework
  • Newspaper Application (chapters 10-17):

Source Code for Previous Editions

djangoforbeginners's People

Contributors

wsvincent avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.