The Django REST Framework is very open for customization on all levels. Views accept the regular GET and POST arguments … More
Author: cbuelter
OCR based Trade Recommendations for The Patrician II
I recently bought The Patrician II on GoG. Having fond childhood memories of that game, which has been created by … More
Authorization Header with mod_wsgi
Trying to use the Authorization header with a WSGI application (e.g. using token authentication with Django REST Framework) with Apache … More
DRF – Get Size of List Response
I am starting to really dig the Django Rest Framework, because it is rather flexible to extend with custom behaviour. … More
Profiling Decorators
When things get slow, it’s time to find out why! pycallgraph is a great tool to visualize profiling data collected … More
git push new branch
Git has changed its default push policy some time ago from ‘matching’ to ‘simple’, meaning that if you try to … More
flexbox + auto margin
I just stumbled upon this great little article by Sam Provenza and just want to help spread that knowledge: When … More
Force reset a Vue Component
In Vue 2.0, resetting a Component would usually mean to reset its internal state. While it is suggested to do … More
Visualize Django Models
The django-extensions contain a great command to visualize the model hierarchy of a Django project: Then you can get a … More
Django CSRF with axios or jQuery
I found myself trying to create a JavaScript application which sends HTTP requests using axios against a Django backend that … More