Adding pretty url field to database
There was a comma missing here.
Passing the pretty_url into the object saving method.
Saving pretty urls when available.