Fixed printing of None for CSRF token URLs