Category: Development

Getting started with django-allauth

By , 08/07/2015 22:41

Sarah Hagstrom wrote a really nice guide here.

Flattr this!

IE ignoring hosts file

By , 18/08/2013 11:13

I switched from developing on a server to running development on my local computer as a part of my effort to better document and package the websites and their dependencies that I maintain. Therefor it also doesn’t make sense to maintain the DNS entries in my local server but instead I use the excellent Firefox add-on HostAdmin Host Editor.

I noticed however that IE was ignoring these entries in the hosts file for some reason. After some googling I stumbled into this blog post describing the solution which is to disable the “Automatically detect settings” check box in the IE options.

Flattr this!

Django admin change only classes in a fieldset

By , 09/08/2011 00:11

I’ve been playing around with Django lately and while I love the framework (and especially the admin interface) it does have some minor points. It might be because of my lack of understanding of the framework and/or Python but some stuff is hard to find. One problem I was faced with was that I wanted to use the .wide class that is provided by the admin to use in case the labels are to big and get overlapped by the form fields.

Continue reading 'Django admin change only classes in a fieldset'»

Flattr this!

XmlSerializer and 0x don’t match

By , 03/11/2009 16:13

I was happily using the XmlSerializer to serialize and deserialize some XML documents at work when I came across a rather annoying “feature”. The deserializer is unable to deserialize integers that are specified in a hexadecimal format with a 0x prefix.

Continue reading 'XmlSerializer and 0x don’t match'»

Flattr this!

Panorama Theme by Themocracy