๐”– Scriptorium
โœฆ   LIBER   โœฆ

๐Ÿ“

Getting started with Django : develop simple web applications with the powerful Django framework

โœ Scribed by Samuel Dauzon


Publisher
Packt Publishing
Year
2014
Tongue
English
Leaves
172
Series
Community experience distilled
Category
Library

โฌ‡  Acquire This Volume

No coin nor oath required. For personal study only.

โœฆ Synopsis


This book features a step-by-step approach that shows you how to program, create, and improve the quality of web applications using Django, with the help of Python. This is an ideal book for developers who want to improve the quality and maintenance of their web application, and who already have knowledge of Python and web development.


Abstract: This book features a step-by-step approach that shows you how to program, create, and improve the quality of web applications using Django, with the help of Python. This is an ideal book for developers who want to improve the quality and maintenance of their web application, and who already have knowledge of Python and web development

โœฆ Table of Contents


Content: Cover
Copyright
Credits
About the Author
About the Reviewers
www.PacktPub.com
Table of Contents
Preface
Chapter 1: Django's Position on the Web
From Web 1.0 to Web 2.0
Web 1.0
Web 2.0
What is Django?
Django --
a web framework
The MVC framework
Why use Django?
Summary
Chapter 2: Creating a Django Project
Installing Python 3
Installing Python 3 for Windows
Installing Python 3 for Linux
Installing Python 3 for Mac OS
Installing setuptools
Installing setuptools for Windows
Installing setuptools for Linux
Installing setuptools for Mac OS
Installing PIP. Installing PIP for WindowsInstalling PIP for Linux
Installing PIP for Mac OS
Installing Django
Installing Django for Windows
Installing Django for Linux
Installing Django for Mac OS
Starting your project with Django
Creating an application
Configuring the application
Summary
Chapter 3: Hello World! with Django
Routing in Django
Regular expressions
The uninterpreted characters
The beginning and the end of the line
The any character regular expression
The character classes
Validating the number of characters
Creating our first URL
Creating our first view. Testing our applicationSummary
Chapter 4: Working with Templates
Displaying Hello world! in a template
Injecting the data from the view to the template
Creating dynamic templates
Integrating variables in templates
Conditional statements
Looping in a template
Using filters
The upper and lower filters
The lower filter
The upper filter
The capfirst filter
The pluralize filter
The escape and safe to avoid XSS filters
The linebreaks filter
The truncatechars filter
Creating DRY URLs
Extending the templates
Using static files in templates
Summary
Chapter 5: Working with Models. Databases and DjangoMigrations with South
Installing South
Using the South extension
Creating simple models
The UserProfile model
The Project model
The relationship between the models
Creating the task model with relationships
Extending models
The admin module
Installing the module
Using the module
Advanced usage of models
Using two relationships for the same model
Defining the str method
Summary
Chapter 6: Getting a Model's Data with Querysets
The persisting model's data on the database
Filling a model and saving it in the database
Getting data from the database. Getting multiple recordsGetting only one record
Getting a model instance from the queryset instance
Using the get parameter
Saving the foreign key
Updating records in the database
Updating a model instance
Updating multiple records
Deleting a record
Getting linked records
Advanced usage of the queryset
Using an OR operator in a queryset
Using the lower and greater than lookups
Performing an exclude query
Making a raw SQL query
Summary
Chapter 7: Working with Django Forms
Adding a developer without using Django forms
Template of an HTML form.

โœฆ Subjects


Django (Electronic resource);Python (Computer program language);Web sites -- Authoring programs.;COMPUTERS -- General.


๐Ÿ“œ SIMILAR VOLUMES


Getting Started with Django: Develop sim
โœ Dauzon S. ๐Ÿ“‚ Library ๐ŸŒ English

Packt Publishing, 2014. โ€” 172 p. โ€” ISBN: 1783983701, 9781783983704<div class="bb-sep"></div>Django is a powerful Python web framework designed for rapid web application development. With the advent of frameworks such as Django, web developers have been forced to adopt MVC architectures and are encou

Django project blueprints: develop stunn
โœ Ahmed, Asad Jibran ๐Ÿ“‚ Library ๐Ÿ“… 2016 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Develop stunning web application projects with the Django framework</b><p><b>About This Book</b><p><li>Build six exciting projects and use them as a blueprint for your own work<li>Extend Django's built-in models and forms to add common functionalities into your project, without reinventing the

Getting Started with Django
โœ Samuel Dauzon ๐Ÿ“‚ Library ๐Ÿ“… 2014 ๐Ÿ› Packt Publishing ๐ŸŒ English

Get to know MVC pattern and the structure of Django<br>Create your first webpage with Django mechanisms<br>Enable user interaction with forms<br>Program extremely rapid forms with Django features.<br>Explore the best practices to develop applications of a superior quality<br>In Detail<br>Django is a

Learning Django Web Development: From id
โœ Sanjeev Jaiswal, Ratan Kumar ๐Ÿ“‚ Library ๐Ÿ“… 2015 ๐Ÿ› Packt Publishing ๐ŸŒ English

Django, written in Python, is a web application framework designed to build complex web applications quickly without any hassle. It loosely follows the MVC pattern and adheres to the Don't Repeat Yourself principle, which makes a database-driven application efficient and highly scalable, and is by f

Learning Website Development with Django
โœ Ayman Hourieh ๐Ÿ“‚ Library ๐Ÿ“… 2008 ๐Ÿ› Packt Publishing ๐ŸŒ English

It's an okay book, they help you work through a project, but I feel the following book is better if you are just starting off with Django (I bought it today because I feel it is far better):The Definitive Guide to Django: Web Development Done Right, Second EditionI plan on returning to Learning Webs

Web Development with Django: Learn to bu
โœ Ben Shaw, Saurabh Badhwar, Andrew Bird, Bharath Chandra K S, Chris Guest ๐Ÿ“‚ Library ๐Ÿ“… 2021 ๐Ÿ› Packt Publishing ๐ŸŒ English

<p><b>Learn how to create your own websites simply, safely, and quickly with Django by tackling practical activities based on realistic case studies</b></p><h4>Key Features</h4><ul><li>Understand Django functionality and the Model-View-Template (MVT) paradigm</li><li>Create and iteratively build a b