Sending Confirmation Emails with Flask Redis Queue and Amazon SES

Sending Confirmation Emails with Flask, Redis Queue, and Amazon SES Project Setup Quickly review the code and overall project structure: ├── Dockerfile ├── docker-compose.yml ├── manage.py ├── project │   ├── __init__.py │   ├── client │   │   ├── static │   │   │   ├── main.css │   │   │   └── main.js │   │   └── templates │   │   ├──…

Logging in Kubernetes with Elasticsearch Kibana and Fluentd

Logging in Kubernetes with Elasticsearch, Kibana, and Fluentd Minikube By default, the Minikube VM is configured to use 1GB of memory and 2 CPU cores. This is not sufficient for Elasticsearch, so be sure to increase the memory in your Docker client (for HyperKit) or directly in VirtualBox. Then, when you start Minikube, pass the…

Pagination in Django

Pagination in Django Find code here. Django Constructs When implementing pagination in Django, rather than re-inventing the logic required for pagination, you’ll work with the following constructs: Paginator – splits a Django QuerySet or list into chunks of Page objects. Page – holds the actual paginated data along with pagination metadata. Paginator – splits a…

Pagination in Django

Pagination in Django Find code here. Django Constructs When implementing pagination in Django, rather than re-inventing the logic required for pagination, you’ll work with the following constructs: Paginator – splits a Django QuerySet or list into chunks of Page objects. Page – holds the actual paginated data along with pagination metadata. Paginator – splits a…