Video and image sitemaps in Django


I recently added a sitemap to a site with many images and videos. Having the media files in the sitemap helps search engines to index them. I hadn't done this with Django before, so here are some notes. If you're not familiar with sitemaps in Django check out the official … more

What happened to


Bad: Licensing, Data leak, Password security, Accounting, DB integrity and Float arithmetic. Donations: 16zN9HGvB7fBmfWgysWpJ5wTNUf82fFDNN No BTC? 2020-04-16 Bitcoin24 and Corona Virus Who would have thought... seven years later and there are still things happening around Bitcoin24. The refund effort started by Jeff has made slow, steady progress over the years … more

So... I had to check my backups just to figure out how to mount my shares. How annoying is that? On Debian-based systems you need to install cifs-utils. more

Work for cryptocurrency


That's right. I have decided to work for bitcoin and other cryptocurrencies as well as for cash. Due to the high volatility I would prefer small tasks that can be completed in a day or two. But bigger projects might work as well, just contact me for details. I had … more

Django Webmaster Verification


Today I have released version 0.2.1 of django-webmaster-verification. I never took the time to write a post about it, so here you go. The Django application helps to quickly register with various webmaster tools like: Google Webmaster Tools Bing Webmaster Tools Yandex Webmaster Tools Majestic SEO Alexa These tools can … more

Another scoop of Django testing


Two scoops of Django is a good book, and I recommend it to anyone who's working with Django. So when I finally got around to using travis-ci I turned to the packaging and testing chapters, but couldn't find anything that would really help me. Travis is a continuous integration service … more

Font I use reStructuredText on parts of this site to write HTML content. But as the main headers don't originate from the rst content I need to start with an h2 tag. It's just a matter of rtfm but here's a solution. more

Values instance has no attribute 'default_reference_context'


I was just editing some reStructuredText content for my website when Django threw a strange error at me. Values instance has no attribute 'default_reference_context' What was really bizarre is that exactly the same rst content could be published as HTML just fine in a test script: from docutils.core import publish_parts … more

Here's a little snippet for cache busting without abusing a query string which can lead to caching problems. The example below will rewrite paths like /css/foo_20130401-5.css to /path/to/static/css/foo.css on the host. more

At last - fixed RSS feeds


It's been more than two years that this site has been running on Django, but I had never gotten around to making really good RSS feeds. Some entries didn't contain the relevant content, others didn't format it properly, etc. Fortunately I have learned enough about Django by now that it … more

DjangoPythonBitcoinTuxDebianHTML5 badgeSaltStackUpset confused bugMoneyHackerUpset confused bugX.OrggitFirefoxWindowMakerBashIs it worth the time?i3 window managerWagtailContainerIrssiNginxSilenceTorWorldInternet securityFontGnuPGThunderbirdJenkins