What is included with this book?
Introduction | p. ix |
Getting Started: Installing Django | p. 1 |
Installing Python in Microsoft Windows | p. 3 |
Installing Python in Linux or UNIX | p. 5 |
Installing Python in Mac OS X | p. 7 |
Testing Your Python Installation | p. 9 |
Removing Any Old Versions of Django | p. 10 |
Installing Django in Windows | p. 12 |
Installing Django in Linux or UNIX and Mac OS X | p. 14 |
Installing a Database System | p. 16 |
Creating an Empty Django Project | p. 18 |
Setting Up the Database and Seeing a Django Page | p. 20 |
Creating Your First Django Application | p. 23 |
Creating the Project | p. 24 |
Setting Up the Database and Testing the Project | p. 26 |
Creating the Application | p. 28 |
Creating the Main View | p. 30 |
Linking the Views URL to the Application | p. 31 |
Launching Your First Application | p. 32 |
Defining a Template Directory | p. 34 |
Passing Data to the Template | p. 36 |
Creating the Template | p. 37 |
Launching the Improved Application | p. 38 |
Storing Data in Your Model | p. 39 |
Creating the Project | p. 41 |
Setting Up the Database | p. 43 |
Creating the Favorites Application | p. 45 |
Planning the Model | p. 46 |
Creating the Hyperlink Model | p. 48 |
Adding Hyperlink Data | p. 50 |
Handling Data in the Shell | p. 52 |
Creating the User Model | p. 54 |
Creating the Favorite Model | p. 57 |
Adding Favorite Data | p. 59 |
Connecting the View to the Model | p. 61 |
Creating the Project and Application | p. 63 |
Transferring the Database | p. 65 |
Creating the View | p. 67 |
Displaying Data from the View | p. 68 |
Accessing the First Favorite from the Model | p. 70 |
Accessing a Specific User | p. 72 |
Accessing a Specific User's Favorite74 | |
Accessing All Favorites for a User | p. 76 |
Editing a Favorite | p. 78 |
Creating a New User | p. 80 |
Creating Multi-page Web Applications | p. 83 |
Creating the Project and Application | p. 84 |
Installing the Database | p. 86 |
Creating the Main View | p. 88 |
Setting Up the User URLs | p. 90 |
Creating the User Views | p. 91 |
Setting Up the Template | p. 93 |
Creating the User Template | p. 94 |
Making the View Call the Template | p. 95 |
Passing User Data to the Template | p. 97 |
Displaying a User's Favorites | p. 99 |
Styling Django Web Pages | p. 101 |
Creating the users Application | p. 102 |
Creating the Database | p. 103 |
Creating the View | p. 105 |
Creating the Template | p. 106 |
Creating the Style Sheet | p. 108 |
Making Django Serve the Style Sheet | p. 109 |
Connecting the Style Sheet to the Template | p. 110 |
Making Style Changes to the Template | p. 112 |
Styling by ID | p. 113 |
inheriting Templates | p. 115 |
Creating the Project and Application | p. 117 |
Transferring the Database | p. 118 |
Creating the Main View | p. 120 |
Creating the Main Template | p. 122 |
Creating the User View | p. 124 |
Creating the User Template | p. 126 |
Creating a Base Template | p. 128 |
Inheriting in the Main Template | p. 129 |
Inheriting in the User Template | p. 131 |
Changing the Base Template | p. 133 |
Getting User Input: Django Forms | p. 137 |
Creating the Project and Application | p. 139 |
Creating the Model | p. 140 |
Creating the Form | p. 142 |
Creating the View That Displays the Form | p. 143 |
Creating the Template | p. 145 |
Creating the View That Displays the Results | p. 147 |
Displaying the Data Read from the Form | p. 149 |
Testing the Form | p. 150 |
Making Form Data Persistent | p. 152 |
Verifying Persistent Data | p. 154 |
Validating Form Data | p. 157 |
Creating the Project and Application | p. 160 |
Creating the Database | p. 161 |
Creating the Form | p. 163 |
Creating the View That Displays the Form | p. 164 |
Creating the Template | p. 166 |
Validating the Email Address | p. 167 |
Validating the Password | p. 168 |
Validating the Username | p. 169 |
Creating the View That Displays the Results | p. 171 |
Verifying Validation | p. 172 |
Logging Users In and Out | p. 177 |
Creating the Project and Application | p. 179 |
Creating the Database | p. 180 |
Connecting the URLs | p. 182 |
Creating the Main Page View | p. 184 |
Creating the Base Template | p. 185 |
Creating the Main Page Template | p. 187 |
Creating the Login Page Template | p. 188 |
Creating the Logout View | p. 190 |
Logging In and Out | p. 191 |
Index | p. 195 |
Table of Contents provided by Ingram. All Rights Reserved. |
The New copy of this book will include any supplemental materials advertised. Please check the title of the book to determine if it should include any access cards, study guides, lab manuals, CDs, etc.
The Used, Rental and eBook copies of this book are not guaranteed to include any supplemental materials. Typically, only the book itself is included. This is true even if the title states it includes any access cards, study guides, lab manuals, CDs, etc.