Django 5 by example: build powerful and reliable Python web applications from Scratch

Cover -- Copyright -- Foreword -- Contributors -- Table of Contents -- Preface -- Chapter 1: Building a Blog Application -- Installing Python -- Creating a Python virtual environment -- Installing Django -- Installing Django with pip -- Django overview -- Main framework components -- The Django arch...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
1. Verfasser: Melé, Antonio (VerfasserIn)
Weitere Verfasser: Melchiorre, Paolo (MitwirkendeR)
Format: Elektronisch E-Book
Sprache:English
Veröffentlicht: Birmingham, UK Packt 2024
Ausgabe:Fifth edition
Online-Zugang:DE-Aug4
DE-706
Volltext
Zusammenfassung:Cover -- Copyright -- Foreword -- Contributors -- Table of Contents -- Preface -- Chapter 1: Building a Blog Application -- Installing Python -- Creating a Python virtual environment -- Installing Django -- Installing Django with pip -- Django overview -- Main framework components -- The Django architecture -- New features in Django 5 -- Creating your first project -- Applying initial database migrations -- Running the development server -- Project settings -- Projects and applications -- Creating an application -- Creating the blog data models -- Creating the Post model -- Adding datetime fields -- Defining a default sort order -- Adding a database index -- Activating the application -- Adding a status field -- Adding a many-to-one relationship -- Creating and applying migrations -- Creating an administration site for models -- Creating a superuser -- The Django administration site -- Adding models to the administration site -- Customizing how models are displayed -- Adding facet counts to filters -- Working with QuerySets and managers -- Creating objects -- Updating objects -- Retrieving objects -- Filtering objects -- Using field lookups -- Chaining filters -- Excluding objects -- Ordering objects -- Limiting QuerySets -- Counting objects -- Checking if an object exists -- Deleting objects -- Complex lookups with Q objects -- When QuerySets are evaluated -- More on QuerySets -- Creating model managers -- Building list and detail views -- Creating list and detail views -- Using the get_object_or_404 shortcut -- Adding URL patterns for your views -- Creating templates for your views -- Creating a base template -- Creating the post list template -- Accessing our application -- Creating the post detail template -- The request/response cycle -- Management commands used in this chapter -- Summary -- Additional resources.
Beschreibung:1 Online-Ressource (xxxi, 785 Seiten) Illustrationen
ISBN:9781805122340

Es ist kein Print-Exemplar vorhanden.

Fernleihe Bestellen Achtung: Nicht im THWS-Bestand! Volltext öffnen