更新时间:2021-07-16 10:38:01
coverpage
Django Project Blueprints
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Blueblog – a Blogging Platform
The contrib packages
Setting up our development environment
User accounts
Multiple users
Summary
Chapter 2. Discuss – a Hacker News Clone
Chapter code packs
Requirements
Starting out
Link submission
Comments
Voting
Ranking submission
Spam protection
Chapter 3. Djagios – a Nagios Clone in Django
Code pack
The model
Fake data generation
Status page
Alerts
Showing triggered alerts on the status page
Accepting data from remote systems
Chapter 4. A Car Rental App
Fixtures
Image and File fields
get_absolute_url
The Django admin app
Showing the car names
Booking management
Improving the user experience
Chapter 5. Multilingual Movie Database
Getting the project up and running
Translating our static content
How did all that work?
Letting the user decide which language to use
Persisting the user choice
Translating our models
Chapter 6. Daintree – an E-commerce Site
Exploring Elasticsearch
Searching from Python
Mapping
Inserting documents into Elasticsearch from Python
Adding search
Aggregations and filters
Searching with aggregations
Chapter 7. Form Mason – a Monkey of your own
Looking at a Django form
Generating dynamic forms
A model for our JSON
Creating a better user interface
Saving the responses
Showing the responses
Designing a form creation interface
Small fixes
Appendix A. Development Environment Setup Details and Debugging Techniques
Using pdb to debug Django views
Developing on Windows
Index