Generates URLs automatically from a model instance