I hate having to re-enter my email settings in a new or reinstalled device. Secure passwords are particularly painful to transcribe via a phone keyboard, but it's not just the basic settings. It's also those extras like signature, disabling notifications and folders that buy you if they're not right. I've …
read moreDisabling Django's password strength checking for development
Django 1.9 comes with a feature that enforces strong passwords. It's an excellent security feature, but password complexity is not what you want in development. Here's how to turn the feature off to allow simple passwords.
It goes like this. You've created a new database, run the migrations and …
read morePython, FTPS and mis-configured servers
Today's project involves automatically uploading electrical metering data to an FTPS server (explicit FTP over TLS, otherwise knowns as ESFTP). Shouldn't be a problem, since Python supports FTPS out of the box. Only it doesn't work. Here's the code:
read moreimport ftplib ftp = ftplib.FTP_TLS('host', 'user', 'password') ftp.set_debuglevel(1 …Join us for a swim at Brown Hill
The water may be a little chilly, but to coincide with today's opening of the Brown Hill outdoor pool for the summer, we're launching the first page of the Brown Hill Community Hub website — a page about the pool.
We've been getting more involved the local community over the past …
read more