PYTHON - DJANGO
How to install Django
Sending email
- Install Python
- Install Apache and mod_wsgi
- Get your database running
- Remove any old versions of Django
- Install the Django code
- Models
- Making queries
- Aggregation
- Search
- Managers
- Performing raw SQL queries
- Database transactions
- Multiple databases
- Tablespaces
- Database access optimization
- Examples of model relationship API usage
- URL dispatcher
- Writing views
- View decorators
- File Uploads
- Django shortcut functions
- Generic views
- Middleware
- How to use sessions
- HTML forms
- Django’s role in forms
- Forms in Django
- Building a form
- More about Django Form classes
- Working with form templates
- Further topics
- Support for template engines
- The Django template language
- Introduction to class-based views
- Built-in class-based generic views
- Form handling with class-based views
- Using mixins with class-based views
- Basic examples
- Simple usage in your URLconf
- Subclassing generic views
- The Commands
- Backend Support
- Workflow
- Dependencies
- Migration files
- Adding migrations to apps
- Historical models
- Considerations when removing model fields
- Data Migrations
- Squashing migrations
- Serializing values
- Supporting Python 2 and 3
- Supporting multiple Django versions
- Using files in models
- The File object
- File storage
- Writing and running tests
- Testing tools
- Advanced testing topics
- Overview
- Installation
- Usage
- Setting up the cache
- The per-site cache
- The per-view cache
- Template fragment caching
- The low-level cache API
- Downstream caches
- Using Vary headers
- Controlling cache: Using other headers
- Order of MIDDLEWARE
- The condition decorator
- Shortcuts for only computing one value
- Using the decorators with other HTTP methods
- Comparison with middleware conditional processing
- Protecting the SECRET_KEY
- Using the low-level API
Sending email
- Quick example
- send_mail()
- send_mass_mail()
- mail_admins()
- mail_managers()
- Examples
- Preventing header injection
- The EmailMessage class
- Email backends
- Configuring email for development
- Overview
- Definitions
- A quick logging primer
- Using logging
- Configuring logging
- Django’s logging extensions
- Django’s default logging configuration
- Example
- Using Paginator in a view
- Paginator objects
- InvalidPage exceptions
- Page objects
- Philosophy
- Porting tips
- Coding guidelines
- Cross site scripting (XSS) protection
- Cross site request forgery (CSRF) protection
- SQL injection protection
- Clickjacking protection
- SSL/HTTPS
- Host header validation
- Session security
- User-uploaded content
- Additional security topics
- Introduction
- General approaches
- Caching
- Understanding laziness
- Databases
- HTTP performance
- Template performance
- Using different versions of available software
- Serializing data
- Deserializing data
- Serialization formats
- Natural keys
- The basics
- Designating the settings
- Default settings
- Using settings in Python code
- Altering settings at runtime
- Security
- Available settings
- Creating your own settings
- Using settings without setting DJANGO_SETTINGS_MODULE
- Listening to signals
- Defining and sending signals
- Disconnecting signals
- Writing your own checks
- Localflavor
- Comments
- Formtools