𝔖 Scriptorium
✦   LIBER   ✦

πŸ“

Django: Visual QuickPro Guide

✍ Scribed by Holzner, Steven


Publisher
Peachpit Press
Year
2009
Tongue
English
Leaves
217
Edition
1st edition
Category
Library

⬇  Acquire This Volume

No coin nor oath required. For personal study only.

✦ Synopsis


Django is a open source web application framework written in Python. This guide starts at the beginning & moves web designers quickly along the path to developing Python Web applications with Django.

✦ Table of Contents


Cover......Page 1
Table of Contents......Page 6
Introduction......Page 10
Chapter 1: Getting Started: Installing Django......Page 14
Installing Python in Microsoft Windows......Page 16
Installing Python in Linux or UNIX......Page 18
Installing Python in Mac OS X......Page 20
Testing Your Python Installation......Page 22
Removing Any Old Versions of Django......Page 23
Installing Django in Windows......Page 25
Installing Django in Linux or UNIX and Mac OS X......Page 27
Installing a Database System......Page 29
Creating an Empty Django Project......Page 31
Setting Up the Database and Seeing a Django Page......Page 33
Chapter 2: Creating Your First Django Application......Page 36
Creating the Project......Page 37
Setting Up the Database and Testing the Project......Page 39
Creating the Application......Page 41
Creating the Main View......Page 43
Linking the View’s URL to the Application......Page 44
Launching Your First Application......Page 45
Defining a Template Directory......Page 47
Passing Data to the Template......Page 49
Creating the Template......Page 50
Launching the Improved Application......Page 51
Chapter 3: Storing Data in Your Model......Page 52
Creating the Project......Page 54
Setting Up the Database......Page 56
Creating the Favorites Application......Page 58
Planning the Model......Page 59
Creating the Hyperlink Model......Page 61
Adding Hyperlink Data......Page 63
Handling Data in the Shell......Page 65
Creating the User Model......Page 67
Creating the Favorite Model......Page 70
Adding Favorite Data......Page 72
Chapter 4: Connecting the View to the Model......Page 74
Creating the Project and Application......Page 76
Transferring the Database......Page 78
Creating the View......Page 80
Displaying Data from the View......Page 81
Accessing the First Favorite from the Model......Page 83
Accessing a Specific User......Page 85
Accessing a Specific User’s Favorite......Page 87
Accessing All Favorites for a User......Page 89
Editing a Favorite......Page 91
Creating a New User......Page 93
Chapter 5: Creating Multi-page Web Applications......Page 96
Creating the Project and Application......Page 97
Installing the Database......Page 99
Creating the Main View......Page 101
Setting Up the User URLs......Page 103
Creating the User Views......Page 104
Setting Up the Template......Page 106
Creating the User Template......Page 107
Making the View Call the Template......Page 108
Passing User Data to the Template......Page 110
Displaying a User’s Favorites......Page 112
Chapter 6: Styling Django Web Pages......Page 114
Creating the users Application......Page 115
Creating the Database......Page 116
Creating the View......Page 118
Creating the Template......Page 119
Creating the Style Sheet......Page 121
Making Django Serve the Style Sheet......Page 122
Connecting the Style Sheet to the Template......Page 123
Making Style Changes to the Template......Page 125
Styling by ID......Page 126
Chapter 7: Inheriting Templates......Page 128
Creating the Project and Application......Page 130
Transferring the Database......Page 131
Creating the Main View......Page 133
Creating the Main Template......Page 135
Creating the User View......Page 137
Creating the User Template......Page 139
Creating a Base Template......Page 141
Inheriting in the Main Template......Page 142
Inheriting in the User Template......Page 144
Changing the Base Template......Page 146
Chapter 8: Getting User Input: Django Forms......Page 150
Creating the Project and Application......Page 152
Creating the Model......Page 153
Creating the Form......Page 155
Creating the View That Displays the Form......Page 156
Creating the Template......Page 158
Creating the View That Displays the Results......Page 160
Displaying the Data Read from the Form......Page 162
Testing the Form......Page 163
Making Form Data Persistent......Page 165
Verifying Persistent Data......Page 167
Chapter 9: Validating Form Data......Page 170
Creating the Project and Application......Page 173
Creating the Database......Page 174
Creating the Form......Page 176
Creating the View That Displays the Form......Page 177
Creating the Template......Page 179
Validating the Email Address......Page 180
Validating the Password......Page 181
Validating the Username......Page 182
Creating the View That Displays the Results......Page 184
Verifying Validation......Page 185
Chapter 10: Logging Users In and Out......Page 190
Creating the Project and Application......Page 192
Creating the Database......Page 193
Connecting the URLs......Page 195
Creating the Main Page View......Page 197
Creating the Base Template......Page 198
Creating the Main Page Template......Page 200
Creating the Login Page Template......Page 201
Creating the Logout View......Page 203
Logging In and Out......Page 204
C......Page 208
D......Page 209
F......Page 210
L......Page 211
M......Page 212
S......Page 213
T......Page 214
V......Page 215
Z......Page 216


πŸ“œ SIMILAR VOLUMES


Avid Liquid 7 for Windows : Visual Quick
✍ Paul Ekert πŸ“‚ Library πŸ“… 2005 πŸ› Peachpit Press 🌐 English

Need to master Avid Liquid 7 fast? Try a Visual QuickPro! This best-selling reference’s visual format and step-by-step, task-based instructions will have you up and running with this popular editing software in no time. In this completely updated edition of our best-selling guide to Avid Liquid

Adobe AIR: Visual QuickPro Guide
✍ Ullman, Larry πŸ“‚ Library πŸ“… 2008 πŸ› Peachpit Press 🌐 English

Using a visual, step-by-step approach, this book teaches everything developers need to know to begin creating applications that combine the rich experience of a traditional desktop application with the power and reach of the Internet.

Unix Advanced: Visual QuickPro Guide
✍ Chris Herborth πŸ“‚ Library πŸ“… 2005 πŸ› Peachpit Press 🌐 English

If you've mastered the flavors, commands, and technical jargon surrounding Unix, are comfortable working from within the command line, and are nowitching to take your Unix skills to the next level, this is the place to start! Using a task-based teaching style and easy visual approach, author Chris H

PHP 5 Advanced: Visual QuickPro Guide
✍ Larry Ullman πŸ“‚ Library πŸ“… 2007 πŸ› Peachpit Press 🌐 English

Sharpen your PHP skills with the fully revised and updated, PHP 5 Advanced for the World Wide Web: Visual QuickPro Guide! Filled with fourteen chapters of step-by-step content and written by best-selling author and PHP programmer, Larry Ullman, this guide teaches specific topics in direct, focused

PHP 5 Advanced: Visual QuickPro Guide
✍ Larry Ullman πŸ“‚ Library πŸ“… 2007 πŸ› Peachpit Press 🌐 English

PHP is currently one of the most popular server-side, HTML-embedded scripting language on the Web. It's specifically designed for Web site creation and is frequently being used to replace the functionality created by Perl to write CGI scripts. PHP's popularity and easier-to-learn appeal has spawned

DHTML and CSS Advanced: Visual QuickPro
✍ Jason Cranford Teague πŸ“‚ Library πŸ“… 2004 πŸ› Peachpit Press 🌐 English

I was greatly disappointed with this book. I have bought many other visual quickpro books which have been great. This book is not advanced. The examples in this book do not separate content, presentation and function. Javascript should be separated from the content of the page, not mashed into the