Django Cook Book
Introduction
Admins
Admin Actions
Override Delete_selected()
Admin Methods
Admin Options
Copy An Object
Custom Change_list Filter
Custom Site_header
Display Extra Field
Exec After Click Delete
Exec After Click Save
Field Readonly After Save
Filter User Owned Objects
Asyns
Beanstalkd
Celery
Django Q
Auths
Password
User
Caches
Memcached
Redis
Django-redis
Cookies
Cookie
Session
Databases
Atomic
F Expression Update
Select For Update
Connection Pool
DButils
Emoji Support
Migrations
Multiple Databases
Persistent Connections
Raw SQL
Decorators
Logging Request Params
Domains
Multi Domain
Emails
Exceptions
ObjectDoesNotExist vs. DoesNotExist
Files
Base64 File Upload
Huge File Upload
Forms
Logs
Handlers
FileHandler
ConcurrentLogHandler
RotatingFileHandler
TimedRotatingFileHandler
WatchedFileHandler
RedisHandler
RedisHandler
RedisListHandler
SocketHandler
StreamHandler
Middlewares
Cross-Origin Resource Sharing (CORS)
URL Parse
User Agent Detect
Models
Abstract Base Classes
PrimaryKey/ForeignKey/Index/Unique
db_index/index_together
unique/unique_together
Fields
JSONField
ShortUUIDField
Options
abstract
db_table
managed
Performances
Memory
Leaking Memory
Queries
Extra/Aggregation
F Expression
Group By
Last/Latest
Q Expression
Variable Field
Year/Month/Day
Real-times
Long Pooling
gevent
HTTP Streaming
gevent
WebSocket
dwebsocket
Node.js — Socket.io
Channals
Push
Requests
Responses
ExcelResponse
FileResponse
Http404
HttpResponse
JsonResponse
DjangoJSONEncoder
Encapsulation
StreamingHttpResponse
Settings
ALLOWED_HOSTS
Signals
StaticFiles
Subcommands
BaseCommand
Tags and Filters
3rd
django-mathfilters — provides a set of simple math filters for Django
Built-in
DIY
Templates
cached.Loader
Translations
URLs
Pass Extra Params to Views
Regexes
Solution
Pagination
Verification Code
Appendix I
Process Managers
Supervisor
Setting Ups
WSGI
Apache & mod_wsgi
https://stackoverflow.com/questions/195534/in-production-apache-mod-wsgi-or-nginx-mod-wsgi
Nginx & uWSGI
Nginx & Gunicorn
VS.
exists() vs. get() + try/except
exists() vs. count()
Appendix II
Design
lastrowid
Powered by
GitBook
Models
Models
results matching "
"
No results matching "
"