Price: $39.99
(as of Mar 23,2023 04:49:39 UTC – Details)
Learn how to create your own websites easily, securely, and quickly with Django by tackling practical activities based on realistic case studies.
Key FeaturesUnderstand Django functionality and the Model-View-Template (MVT) paradigmCreate and iteratively build a book review website, adding features as you build your knowledgeExplore advanced concepts such as REST API implementation and third-party module integrationBook Description
Do you want to develop reliable and secure applications which stand out from the crowd, rather than spending hours on boilerplate code? Then Django framework is where you should begin. Often referred to as a ‘batteries included’ web development framework, Django comes with all the core features needed to build a standalone application.
Web Development with Django takes this philosophy and equips you with the knowledge and confidence to build real-world applications using Python.
This book starts with the essential concepts necessary to learn Django. Then we cover its major features by building a website called Bookr – a repository for book reviews. This end-to-end case study is split into a series of bitesize projects that are presented as exercises and activities, allowing you to challenge yourself in an enjoyable and attainable way.
As you progress further, you’ll learn various practical skills, including how to serve static files to add CSS, JavaScript, and images to your application, how to implement forms to accept user input, and how to manage sessions to ensure a reliable user experience. Throughout this book, you’ll cover daily key tasks that are part of the development cycle of a real-world web application.
By the end of this book, you’ll have the skills and confidence to creatively develop and deploy your own projects with Django.
What you will learnCreate a new application and add models to describe your dataUse views and templates to control behavior and appearanceImplement access control through authentication and permissionsDevelop practical web forms to add features such as file uploadsLearn to develop a RESTful API and JavaScript code that communicates with itConnect to a database such as PostgreSQLWho This Book Is For
Programmers looking to enhance their web development skills using the Django framework. To fully understand the concepts explained in this book, basic knowledge of Python programming, as well as familiarity with JavaScript, HTML, and CSS is assumed.
Table of ContentsIntroduction to DjangoModels and MigrationsURL Mapping, Views, and TemplatesDjango Admin IntroductionServing Static FilesFormsValidating FormsFile Uploads/Media ServingSessions and AuthenticationAdvanced Django Admin and CustomisationAdvanced Templating (including Custom Template Tags/Filters), Class Based Views(CBV)Building a REST APIGenerating CSV, PDF and other binary filesTestingPlugging in 3rd Party LibrariesUsing A Frontend JS Library to Communicate with REST APIDeploying a Django Application using Docker
ASIN : B0B46K6B45
Publisher : Packt Publishing (May 9, 2023)
Publication date : May 9, 2023
Language : English
Text to Speech : Enabled
Enhanced typesetting : Not Enabled
X-Ray : Not Enabled
Word Wise : Not Enabled
Sticky notes : Not Enabled