simple urlshortening server example for django