A url shortener in pytohn/django