My Account Log in

4 options

Web development with Django cookbook : over 90 practical recipes to help you create scalable websites using the Django 1.8 framework / Aidas Bendoraitis.

EBSCOhost Academic eBook Collection (North America) Available online

View online

EBSCOhost Ebook Public Library Collection - North America Available online

View online

Ebook Central Academic Complete Available online

View online

O'Reilly Online Learning: Academic/Public Library Edition Available online

View online
Format:
Book
Author/Creator:
Bendoraitis, Aidas, author.
Series:
Quick answers to common problems.
Quick answers to common problems
Language:
English
Subjects (All):
Django (Electronic resource).
Web site development.
Application software--Development.
Application software.
Internet programming.
Physical Description:
1 online resource (384 p.)
Edition:
2nd ed.
Place of Publication:
Birmingham : Packt Publishing, 2016.
System Details:
text file
Biography/History:
Bendoraitis Aidas: Aidas Bendoraitis has been professionally building websites for the past 18 years. For the last 14 years, he has been working at a design company, studio 38 pure communication, in Berlin. Together with a small dedicated team, he has mostly used Django in the backend and jQuery in the frontend to create cultural and touristic web platforms. Among different side projects, he is bootstrapping a SaaS business with strategic prioritizer 1st things 1st. Aidas Bendoraitis is active on Twitter and other social media under the username DjangoTricks.
Summary:
Over 70 practical recipes to help you create scalable websites using the Django 1.8 framework About This Book This is the latest book on the market that will help you take advantage of the new features added to Django 1.8 This book consists of recipes of varying complexities to help you create multilingual, responsive, and scalable websites with Django This updated edition teaches you major Django functions and will help you improve your skills by developing models, forms, views, and templates Who This Book Is For This book is for intermediate-level and professional Django users who need to build projects that are multilingual, functional on devices of different screen sizes, and that scale over a period of time. If you have created websites with Django but you want to sharpen your knowledge and learn some good approaches to different aspects of web development, you should definitely read this book. What You Will Learn Get started with the basic configuration necessary to start any Django project Build a database structure out of reusable model mixins Manage forms and views and get to know some useful patterns that are used to create them Create handy template filters and tags that you can reuse in every project Integrate your own functionality into the Django CMS Manage hierarchical structures with MPTT Import data from local sources and external web services as well as exporting your data to third parties Implement a multilingual search with Haystack Test and deploy your project efficiently In Detail Django is a web framework that was designed to strike a balance between rapid web development and high performance. It has the capacity to handle applications with high levels of user traffic and interaction, and can integrate with massive databases on the backend, constantly collecting and processing data in real time. Through this book, you'll discover that collecting data from different sources and providing it to others in different formats isn't as difficult as you thought. It follows a task-based approach to guide you through all the web development processes using the Django framework. We'll start by setting up the virtual environment for a Django project and configuring it. Then you'll learn to write reusable pieces of code for your models and find out how to manage database schema changes using South migrations. After that, we'll take you through working with forms and views to enter and list data. With practical examples on using templ...
Contents:
Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; 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; Index; Introduction; Working with a virtual environment; Creating a project file structure
Handling project dependencies with pipMaking your code compatible with both Python 2.7 and Python 3; Including external dependencies in your project; Configuring settings for development, testing, staging, and production ; environments; Defining relative paths in the settings; Creating and including local settings; Setting up STATIC_URL dynamically for Subversion users; Setting up STATIC_URL dynamically for Git users; Setting UTF-8 as the default encoding for MySQL configuration; Setting the Subversion ignore property; Creating the Git ignore file; Deleting Python-compiled files
Respecting the import order in Python filesCreating app configuration; Defining overwritable app settings; Introduction; Using model mixins; Creating a model mixin with URL-related methods; Creating a model mixin to handle creation and modification dates; Creating a model mixin to take care of meta tags; Creating a model mixin to handle generic relations; Handling multilingual fields; Using migrations; Switching from South migrations to Django migrations; Changing a foreign key to the many-to-many field; Introduction; Passing HttpRequest to the form; Utilizing the save method of the form
Uploading imagesCreating a form layout with django-crispy-forms; Downloading authorized files; Filtering object lists; Managing paginated lists; Composing class-based views; Generating PDF documents; Implementing a multilingual search with Haystack; Introduction; Arranging the base.html template; Including JavaScript settings; Using HTML5 data attributes; Opening object details in a modal dialog; Implementing a continuous scroll; Implementing the Like widget; Uploading images by Ajax; Introduction; Following conventions for your own template filters and tags
Creating a template filter to show how many days have passed since a post was published; Creating a template filter to extract the first media object; Creating a template filter to humanize URLs; Creating a template tag to include a template if it exists; Creating a template tag to load a QuerySet in a template; Creating a template tag to parse content as a template; Creating a template tag to modify request query parameters; Introduction; Customizing columns on the change list page; Creating admin actions; Developing change list filters; Customizing default admin settings
Inserting a map into a change form
Notes:
Includes index.
Description based on online resource; title from PDF title page (ebrary, viewed July 5, 2016).
ISBN:
1-78588-132-9
OCLC:
939394726

The Penn Libraries is committed to describing library materials using current, accurate, and responsible language. If you discover outdated or inaccurate language, please fill out this feedback form to report it and suggest alternative language.

Find

Home Release notes

My Account

Shelf Request an item Bookmarks Fines and fees Settings

Guides

Using the Find catalog Using Articles+ Using your account