Barebones url shortener in Django