May 2020

Django
2020-05-19 06:34 (6 years ago)
Manually Operating Viewsets in Django Rest Framework to Retrieve Serialized Data

Introduction to Python Code for APIView.

Django
2020-05-18 02:16 (6 years ago)
Fix: MySQL error 1467 'Failed to read auto-increment value from storage engine' — AutoIncrement exhausted in Django

MySQL raises error 1467 'Failed to read auto-increment value from storage engine' when a Django int id hits the AUTO_INCREMENT limit 2147483647. Check information_schema, then migrate the primary key to BigAutoField.

nginx
2020-05-06 14:24 (6 years ago)
Outputting Request Headers in Nginx Logs

Output every request header and response info to the nginx access log via a custom `log_format`, with an Ansible playbook to deploy it.

Categories

Archive