Beginning Django Год издания: 2017 Автор: Rubio D. Издательство: Apress ISBN: 978-1484227862 Язык: Английский Формат: PDF Качество: Издательский макет или текст (eBook) Интерактивное оглавление: Да Количество страниц: 593 Описание: Discover the Django web application framework and get started building Python-based web applications. This book takes you from the basics of Django all the way through to cutting-edge topics such as creating RESTful applications. Beginning Django also covers ancillary, but essential, development topics, including configuration settings, static resource management, logging, debugging, and email. Along with material on data access with SQL queries, you’ll have all you need to get up and running with Django 1.11 LTS, which is compatible with Python 2 and Python 3. Once you’ve built your web application, you’ll need to be the admin, so the next part of the book covers how to enforce permission management with users and groups. This technique allows you to restrict access to URLs and content, giving you total control of your data. In addition, you’ll work with and customize the Django admin site, which provides access to a Django project’s data. After reading and using this book, you’ll be able to build a Django application top to bottom and be ready to move on to more advanced or complex Django application development. What You'll Learn - Get started with the Django framework - Use Django views, class-based views, URLs, middleware, forms, templates, and Jinja templates - Take advantage of Django models, including model relationships, migrations, queries, and forms - Leverage the Django admin site to get access to the database used by a Django project - Deploy Django REST services to serve as the data backbone for mobile, IoT, and SaaS systems Who This Book Is For Python developers new to the Django web application development framework and web developers new to Python and Django.
Примеры страниц
Оглавление
Contents at a Glance About the Author ....................................................................................................xxi About the Technical Reviewer ..............................................................................xxiii Acknowledgments .................................................................................................xxv Introduction .........................................................................................................xxvii Chapter 1: Introduction to the Django Framework ................................................ 1 Chapter 2: Django Urls and Views ....................................................................... 31 Chapter 3: Django Templates ............................................................................... 73 Chapter 4: Jinja Templates in Django ................................................................ 117 Chapter 5: Django Application Management ..................................................... 163 Chapter 6: Django Forms ................................................................................... 217 Chapter 7: Django Models ................................................................................. 275 Chapter 8: Django Model Queries and Managers .............................................. 341 Chapter 9: Django Model Forms and Class Views ............................................. 403 Chapter 10: Django User Management .............................................................. 441 Chapter 11: Django admin Management ........................................................... 495 Chapter 12: REST Services with Django ............................................................ 549 Appendix A: Python Basics ................................................................................ 567 Index ............................................................................................................ 585
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum