首頁(yè) > 計(jì)算機(jī)網(wǎng)絡(luò) > 編程語(yǔ)言與程序設(shè)計(jì) > Web Development with Django Cookbook(Second Edition)
舉報(bào)

會(huì)員
Web Development with Django Cookbook(Second Edition)
最新章節(jié):
Index
Thisbookisforintermediate-levelandprofessionalDjangouserswhoneedtobuildprojectsthataremultilingual,functionalondevicesofdifferentscreensizes,andthatscaleoveraperiodoftime.IfyouhavecreatedwebsiteswithDjangobutyouwanttosharpenyourknowledgeandlearnsomegoodapproachestodifferentaspectsofwebdevelopment,youshoulddefinitelyreadthisbook.
最新章節(jié)
- Index
- Creating and using the Fabric deployment script
- Setting up cron jobs for regular tasks
- Deploying on Apache with mod_wsgi
- Getting detailed error reporting via e-mail
- Releasing a reusable Django app
品牌:中圖公司
上架時(shí)間:2021-07-23 14:28:36
出版社:Packt Publishing
本書數(shù)字版權(quán)由中圖公司提供,并由其授權(quán)上海閱文信息技術(shù)有限公司制作發(fā)行
- Index 更新時(shí)間:2021-07-23 14:32:25
- Creating and using the Fabric deployment script
- Setting up cron jobs for regular tasks
- Deploying on Apache with mod_wsgi
- Getting detailed error reporting via e-mail
- Releasing a reusable Django app
- Testing API created using Django REST framework
- Testing views with mock
- Testing pages with Selenium
- Introduction
- Chapter 11. Testing and Deployment
- Checking for missing settings
- Using signals to notify administrators about new entries
- Using Memcached to cache Django views
- Caching the method return value
- Using ThreadLocalMiddleware
- Toggling the Debug Toolbar
- Monkey-patching the slugify() function for better internationalization support
- Using database query expressions
- Using the Django shell
- Introduction
- Chapter 10. Bells and Whistles
- Using Django REST framework to create API
- Using Tastypie to create API
- Creating filterable RSS feeds
- Importing data from an external XML file
- Importing data from an external JSON file
- Importing data from a local Excel file
- Importing data from a local CSV file
- Introduction
- Chapter 9. Data Import and Export
- Using a checkbox list to choose multiple categories in forms
- Using a single selection field to choose a category in forms
- Rendering categories in a template
- Creating a category administration interface with django-mptt-tree-editor
- Creating a category administration interface with django-mptt-admin
- Creating hierarchical categories
- Introduction
- Chapter 8. Hierarchical Structures
- Adding new fields to the CMS page
- Writing your own CMS plugin
- Attaching your own navigation
- Converting an app to a CMS app
- Structuring the page menu
- Creating templates for Django CMS
- Introduction
- Chapter 7. Django CMS
- Inserting a map into a change form
- Customizing default admin settings
- Developing change list filters
- Creating admin actions
- Customizing columns on the change list page
- Introduction
- Chapter 6. Model Administration
- Creating a template tag to modify request query parameters
- Creating a template tag to parse content as a template
- Creating a template tag to load a QuerySet in a template
- Creating a template tag to include a template if it exists
- Creating a template filter to humanize URLs
- Creating a template filter to extract the first media object
- Creating a template filter to show how many days have passed since a post was published
- Following conventions for your own template filters and tags
- Introduction
- Chapter 5. Custom Template Filters and Tags
- Uploading images by Ajax
- Implementing the Like widget
- Implementing a continuous scroll
- Opening object details in a modal dialog
- Using HTML5 data attributes
- Including JavaScript settings
- Arranging the base.html template
- Introduction
- Chapter 4. Templates and JavaScript
- Implementing a multilingual search with Haystack
- Generating PDF documents
- Composing class-based views
- Managing paginated lists
- Filtering object lists
- Downloading authorized files
- Creating a form layout with django-crispy-forms
- Uploading images
- Utilizing the save method of the form
- Passing HttpRequest to the form
- Introduction
- Chapter 3. Forms and Views
- Changing a foreign key to the many-to-many field
- Switching from South migrations to Django migrations
- Using migrations
- Handling multilingual fields
- Creating a model mixin to handle generic relations
- Creating a model mixin to take care of meta tags
- Creating a model mixin to handle creation and modification dates
- Creating a model mixin with URL-related methods
- Using model mixins
- Introduction
- Chapter 2. Database Structure
- Defining overwritable app settings
- Creating app configuration
- Respecting the import order in Python files
- Deleting Python-compiled files
- Creating the Git ignore file
- Setting the Subversion ignore property
- Setting UTF-8 as the default encoding for MySQL configuration
- Setting up STATIC_URL dynamically for Git users
- Setting up STATIC_URL dynamically for Subversion users
- Creating and including local settings
- Defining relative paths in the settings
- Configuring settings for development testing staging and production environments
- Including external dependencies in your project
- Making your code compatible with both Python 2.7 and Python 3
- Handling project dependencies with pip
- Creating a project file structure
- Working with a virtual environment
- Introduction
- Chapter 1. Getting Started with Django 1.8
- Customer support
- Reader feedback
- Conventions
- Who this book is for
- What you need for this book
- What this book covers
- Preface
- Support files eBooks discount offers and more
- www.PacktPub.com
- About the Reviewers
- About the Author
- Credits
- 版權(quán)頁(yè)
- 封面
- 封面
- 版權(quán)頁(yè)
- Credits
- About the Author
- About the Reviewers
- www.PacktPub.com
- Support files 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. Getting Started with Django 1.8
- Introduction
- Working with a virtual environment
- Creating a project file structure
- Handling project dependencies with pip
- Making 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 files
- Creating app configuration
- Defining overwritable app settings
- Chapter 2. Database Structure
- 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
- Chapter 3. Forms and Views
- Introduction
- Passing HttpRequest to the form
- Utilizing the save method of the form
- Uploading images
- Creating 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
- Chapter 4. Templates and JavaScript
- 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
- Chapter 5. Custom Template Filters and Tags
- 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
- Chapter 6. Model Administration
- 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
- Chapter 7. Django CMS
- Introduction
- Creating templates for Django CMS
- Structuring the page menu
- Converting an app to a CMS app
- Attaching your own navigation
- Writing your own CMS plugin
- Adding new fields to the CMS page
- Chapter 8. Hierarchical Structures
- Introduction
- Creating hierarchical categories
- Creating a category administration interface with django-mptt-admin
- Creating a category administration interface with django-mptt-tree-editor
- Rendering categories in a template
- Using a single selection field to choose a category in forms
- Using a checkbox list to choose multiple categories in forms
- Chapter 9. Data Import and Export
- Introduction
- Importing data from a local CSV file
- Importing data from a local Excel file
- Importing data from an external JSON file
- Importing data from an external XML file
- Creating filterable RSS feeds
- Using Tastypie to create API
- Using Django REST framework to create API
- Chapter 10. Bells and Whistles
- Introduction
- Using the Django shell
- Using database query expressions
- Monkey-patching the slugify() function for better internationalization support
- Toggling the Debug Toolbar
- Using ThreadLocalMiddleware
- Caching the method return value
- Using Memcached to cache Django views
- Using signals to notify administrators about new entries
- Checking for missing settings
- Chapter 11. Testing and Deployment
- Introduction
- Testing pages with Selenium
- Testing views with mock
- Testing API created using Django REST framework
- Releasing a reusable Django app
- Getting detailed error reporting via e-mail
- Deploying on Apache with mod_wsgi
- Setting up cron jobs for regular tasks
- Creating and using the Fabric deployment script
- Index 更新時(shí)間:2021-07-23 14:32:25