Django: Web Development with Python
- Length: 730 pages
- Edition: 1
- Language: English
- Publisher: Packt Publishing
- Publication Date: 2016-08-31
- ISBN-10: 1787121380
- ISBN-13: 9781787121386
- Sales Rank: #4229939 (See Top 100 Books)
About This Book
- Explore the best practices to develop applications of a superior quality with Django framework
- Unravel the common problems of web development in Django
- This course teaches you major Django functions and will help you improve your skills by developing models, forms, views, and templates
- Experience the challenges of working on an end-to-end social network project
Who This Book Is For
Web developers who want to use modern Python-based web frameworks like Django to build powerful web applications. The course is mostly self-contained and introduces web development with Python to a reader who is familiar with web development concepts and can help him become an expert in this trade. It’s intended for all levels of web developers, both students and practitioners from novice to experts.
What You Will Learn
- Use Django models to store information in a database and generate queries to access a database across models
- Quickly develop web pages to create, read, update, and delete data from the model using class-based views
- Generate very maintainable forms with Django
- Import data from local sources and external web services, as well as exporting your data to third parties
- Deep dive into various aspects of Django, from models and views to testing and deployment
- Familiarize yourself with the various nuances of web development such as browser attacks and databases
In Detail
Data science is hot right now, and the need for multitalented developers is greater than ever before. A basic grounding in building apps with a framework as minimalistic, powerful, and easy-to-learn as Django will be a useful skill when launching your career as an entrepreneur or web developer.
Django is a web framework that was designed to strike a balance between rapid web development and high performance. This course will take you on a journey to become an efficient web developer who thoroughly understands the key concepts of the Django framework.
The first module, Django Essentials, is a practical guide, filled with many real-world examples to build highly effective Django web applications. In the second module, Web Development with Django Cookbook, you’ll learn varying complexities to help you create multilingual, responsive, and scalable websites with Django. The next step is to discover the latest best practices and idioms in the rapidly evolving Django framework. This is what you’ll be learning in our third module, Django Design Patterns and Best Practices. By the end of the module, you will be able to leverage the Django framework to develop a fully functional web application with minimal effort.
Table of Contents
Chapter 1: Django’s Position on the Web
Chapter 2: Creating a Django Project
Chapter 3: Hello World! with Django
Chapter 4: Working with Templates
Chapter 5: Working with Models
Chapter 6: Getting a Model’s Data with Querysets
Chapter 7: Working with Django Forms
Chapter 8: Raising Your Productivity with CBV
Chapter 9: Using Sessions
Chapter 10: The Authentication Module
Chapter 11: Using AJAX with Django
Chapter 12: Production with Django
Chapter 1: Getting Started with Django 1.8
Chapter 2: Database Structure
Chapter 3: Forms and Views
Chapter 4: Templates and JavaScript
Chapter 5: Custom Template Filters and Tags
Chapter 6: Model Administration
Chapter 7: Django CMS
Chapter 8: Hierarchical Structures
Chapter 9: Data Import and Export
Chapter 10: Bells and Whistles
Chapter 11: Testing and Deployment
Chapter 1: Django and Patterns
Chapter 2: Application Design
Chapter 3: Models
Chapter 4: Views and URLs
Chapter 5: Templates
Chapter 6: Admin Interface
Chapter 7: Forms
Chapter 8: Dealing with Legacy Code
Chapter 9: Testing and Debugging
Chapter 10: Security
Chapter 11: Production-ready
Appendix: Python 2 versus Python 3