Tag: Django
104 Posts
Django REST Framework: Write Endpoints with APIView and @api_view — When to Use a Class, When to Use a Function
Django: Use get_object_or_404() Instead of try/except DoesNotExist — Return a Proper 404 in One Line
Django: Export Large CSV Files with StreamingHttpResponse in 5 Minutes
Django: Block GET Requests from Deleting Data with @require_POST in 5 Minutes
Django: Build a Like Button for Every Model with GenericForeignKey — No More Duplicate Tables
Django: Back Up and Restore Data with dumpdata and loaddata in 5 Minutes
Django, Production Operations, Series
Django in Production #20: Series Wrap-Up — Operations Runbook, Incident Checklist, and What’s Next
Django REST Framework: Validate Data with validate() and validate_<field> in Serializers
Django, Production Operations, Series
