← Back to team overview

oship-dev team mailing list archive

OSHIP Rev 224 Code Review: issue #03 - replace hard coded URLs by Grok generated URLs

 

We have some hard coded URLs in the code of app.py

self.redirect("http://localhost:8080/oship";) # now simply redirect

This forces the users to add an application with the specific name
'oship', no typos or variations allowed.

To give the users the freedom to choose their own names, the hard coded
URLs should be replaced by

self.redirect(self.url('index'))
or
self.redirect(self.application_url())



Follow ups